I am trying to use slf4j and logback libraries for logging in my project. I want to do the configuration through code rather than through xml.
and afetrwards, I am catching localLoger in . and then using it for logging via . Idea about where I have got wrong it is not making the new file logFile.log, and printing log messages on screen.
archit thakur wrote:I am trying to use slf4j and logback libraries for logging in my project...
Archit,
Please DontWriteLongLines (←click), because it makes your thread very hard to read. I suggest that you use the 'Edit' key to break them up; I'd do it myself, but there's a lot of them.
Thanks
Winston
Isn't it funny how there's always time and money enough to do it WRONG?