Re: Using multiple config files with log4j

2007-07-20 Thread Curt Arnold
On Jul 20, 2007, at 10:31 AM, Matthew Kemp wrote: Thanks for your response. First, I didn't realize that the XML include mechanism worked with log4j yet. I will give that a try and see if I can get it working. Do you know if it should work with version 1.2.9 - I know the current version is

Re: Using multiple config files with log4j

2007-07-20 Thread Matthew Kemp
Thanks for your response. First, I didn't realize that the XML include mechanism worked with log4j yet. I will give that a try and see if I can get it working. Do you know if it should work with version 1.2.9 - I know the current version is 1.2.14 but I'm stuck with the older version right now. A

Re: Using multiple config files with log4j

2007-07-20 Thread Curt Arnold
You should have to options that should work out of the box. I don't understand your needs enough to suggest which one would work better. First, DOMConfiguration.configure and PropertyConfigure.configure do not reset the configuration before loading the configuration file. This basically m

Re: log4j Timezones

2007-07-20 Thread Curt Arnold
On Jul 20, 2007, at 7:33 AM, Hill, Alex wrote: Hi, I'm currently using log4j 1.2.14 and have been having some trouble logging in GMT. Is there any way of setting the timezone of an appender? I ended up doing this: TimeZone.setDefault(TimeZone.getTimeZone("GMT")); This seems to work bu

log4j Timezones

2007-07-20 Thread Hill, Alex
Hi, I'm currently using log4j 1.2.14 and have been having some trouble logging in GMT. Is there any way of setting the timezone of an appender? I ended up doing this: TimeZone.setDefault(TimeZone.getTimeZone("GMT")); This seems to work but it means my appender has to set this property glob