Re: way to get username into logs

2005-03-23 Thread Elihu Smails
Could you point me to a resource where I could get more information on how to do this. I don't have much experience with extending Log4J's classes. Thank you. On Tue, 22 Mar 2005 21:28:36 +0100, David J. M. Karlsen <[EMAIL PROTECTED]> wrote: > Elihu Smails wrote: > &g

guidance on creating a custom layout

2005-03-21 Thread Elihu Smails
I want to write a layout that will be able to support PID for my logs. My java program stores its process ID file in /var/run, and I want to be able to place this process ID in each of my logs. Could someone give me some guidance as to how to extend the functionality of the PatternLayout class in

way to get username into logs

2005-03-21 Thread Elihu Smails
Is there a way to use one of the layouts/patterns in order to get the username into the logs? I do not see this as an option in any of the configurations and it seems like it would be really easy. Thank you. - To unsubscribe, e-

Re: dynamically reloading log4j config file

2005-03-21 Thread Elihu Smails
rvlets out there. There is one in the sandbox, and > enhanced version in the wiki, and others listed on Log4j's download page in > the 3rd party section. If it is a command line app, then configureAndWatch > is probably ok. > > Jake > > >-Original Message

dynamically reloading log4j config file

2005-03-18 Thread Elihu Smails
Is it possible for Log4J to dynamically reload the configuration file? For instance, if I have my configuration set to INFO, and there is a problem in my program and want to increase the logging to DEBUG, could I change the config file to reflect DEBUG and then call PropertyConfigurator.configure(