Write the sl4J logs into a text file