There have been discussions on the list of an appender that creates a different file per value of an MDC key. I think it was in relation to separate files per thread but you could set the MDC key separately in each app and then use that appender.
On Fri, Feb 15, 2008 at 7:45 AM, sparky2708 <[EMAIL PROTECTED]> wrote: > > I have a system developed in java that has multiple services (i.e. java > Applications). I would like to be able to log EACH application to ITS OWN > log file. I have about 50-80 applications so having a log4j.properties for > each one is not a feasible solution. I would like to use ONE > log4j.properties file for the entire suite of application and use the > "DailyRollingFileAppender" preferably to roll each of the log files on a > nightly basis so each of the logs doesn't get too big. > I didn't think this would be very complicated when I started thinking > about this but am now stuck trying to figure out how to accomplish this with > log4j. Any ideas? > -- > View this message in context: > http://www.nabble.com/Can%27t-figure-out-how-to-log-to-separate-files-in-Log4J----Need-Ideas-tp15501211p15501211.html > Sent from the Log4j - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- James A. N. Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
