0

How to print log in files using slf4j in combo with simple logger. I am using the below jars :

slf4j-simple-1.7.2.jar slf4j-api-1.7.2.jar

I need to append a new log file for each day.

Community
  • 1
  • 1
Pink Giraffe
  • 29
  • 1
  • 1
  • 5
  • You're supposed to use only one logging backend. What are you trying to achieve? – E_net4 May 26 '15 at 14:30
  • Take a look at some more advanced slf4j "implementation", like [logback](http://logback.qos.ch/) or [log4j2](http://logging.apache.org/log4j/2.x/) for example (I don't think you can do that with slf4j-simple) –  May 26 '15 at 14:45

1 Answers1

0

hope this stackoverflow link will help, to have rolling file update: Setting a log file name to include current date in Log4j