[logback-user] RollingFileAppender

Greg Flex greg.flex at gmail.com
Tue Oct 28 20:49:11 CET 2008

Hi All,
Could someone please post a simple example on how to use the
RollingFileAppender programmatically?
I'm having problems figuring this out. (and massages such as: No context
given.... etc.)
Basically what I'd like to do is set everything in my java program.
Write to a file but adding stuff like computer's IP address and its name
Most importantly, I'd like to modify the file name itself. Say in the
format: IP_address_date {yyyy-MM-dd_HH-mm-ss}.log
Thanks a lot,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20081028/2061b6d2/attachment.htm 

More information about the Logback-user mailing list