dcsimg
Unique (variable) log4j RollingFileAppender file name possible?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mark_D
Posted On:   Thursday, July 7, 2005 06:26 PM

Is there any way to set the log4j properties so that a RollingFileAppender log has a variable file name? We're about to go live with a 3rd party Swing app being hosted on Citrix servers that uses log4j for logging client-side Java events. The problem is that each person who accesses the app creates a new (fresh) log file, making problem resolution nearly impossible.

Has anyone dealt with this? The ultimate goal would be to somehow use the Windows login id as part of the log file name. We don't have access to the source code, but we can modify the log4j.properties file that comes with the application.

Thanks in advance.

About | Sitemap | Contact