| Author |
Log4J - Different Log files for different parts of app
|
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15229
|
|
I am just getting into log4j and am using it for logging in my SWING application. I would like to have sepearte log files for different parts of my application. I was wondering if someone could give me some pointers on the best way to manage this. Can I set different log files in the properties file? And if so, how do I access the different log files inside the app if my Logger object only opens 1 properties file. Or do I just need to create different properties files for each part of my app and each pointing to a different log file? Thanks for any tips.
|
 |
 |
|
|
subject: Log4J - Different Log files for different parts of app
|
|
|