| Author |
Configurate properties of log4j in runtime
|
Haroldo Nascimento
Ranch Hand
Joined: Aug 14, 2003
Posts: 79
|
|
I am using log4j. I need create one arq of log to each user in my portal. How I can cofigurate this propertie in run time: log4j.appender.FILELOGPORTALWEB.File=XXXX.log, where XXXX is the name of user. Thanks
|
 |
Karthik Guru
Ranch Hand
Joined: Mar 06, 2001
Posts: 1209
|
|
not sure if this log4j FAQ FAQ c'd help. But i see setFile() for FileAppender class. So if you can get to the appender at runtime, you s;d be able to configure the file as well. Try playing around with it and let us know.
|
 |
 |
|
|
subject: Configurate properties of log4j in runtime
|
|
|