
28 Oct
2008
28 Oct
'08
7:49 p.m.
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 etc. 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, Greg.