I have used log4j in the past, but I am trying to use it now for something where I am running into problems. Any suggestions/advice would be appreciated. I can't get a file logger to roll files. When the file reaches its preset size, it overwrites the original file instead of rolling.
This situation involves a web app that includes multiple .ear files. Each .ear file has its own log, and there is a common log file across the web app. I would like to create a separate log file which can be accessed by specific pieces of each application, e.g., a special purpose log file. My current attempts have not been able to define a rolling log file. The environment is Websphere 6.0.2.x running on Windows 2003 Server. My google attempts have indicated a possible problem with multiple .ear/.war attachments to a single log file may cause problems with rolling, but there didn't seem to be a work-around. Having separate log files for this specific event log across multiple .ear/.war files would be a nightmare to debug. So, how can I use a single rolling log file to function properly across multiple .ear/.war components in a single web app? Thanks, Brent Friedman