This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Configurate properties of log4j in runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Configurate properties of log4j in runtime" Watch "Configurate properties of log4j in runtime" New topic

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:
where XXXX is the name of user.
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
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Configurate properties of log4j in runtime
It's not a secret anymore!