RE: using properties inside log4j configs

2005-02-16 Thread OOMS DIRK
Jake, Sushil, Thanks for your replies. I tried it again and now it works. I must have overlooked something. dirk > -Original Message- > From: Sushil Sureka [mailto:[EMAIL PROTECTED] > Sent: woensdag 16 februari 2005 17:28 > To: Log4J Users List > Subject: Re: using pr

Re: using properties inside log4j configs

2005-02-16 Thread Sushil Sureka
Actually I am using the system property and it works for me. Also I am using the same syntax ${<>} as you do. Are you sure your property is set? Also turning on the log4j debug flag might help. Sushil On Wed, 16 Feb 2005 17:17:01 +0100, OOMS DIRK <[EMAIL PROTECTED]> wrote: > Hello, > > I would

Re: using properties inside log4j configs

2005-02-16 Thread Jacob Kjome
When you say "several processes", do you mean separate VM's? If so, then providing a system propery before configuration should work just fine in your case. Please clarify. Jake Quoting OOMS DIRK <[EMAIL PROTECTED]>: > Hello, > > I would like to have several processes use the same log4j.xml, b

using properties inside log4j configs

2005-02-16 Thread OOMS DIRK
Hello, I would like to have several processes use the same log4j.xml, but that e.g. the name of the log file to which they output is slightly different. I tried to achieve this by putting a System Property "processName" into the description of a FileAppender in log4j.xml I also tried to set an