additivity attribute for logger does not diffrently for root and user-defined logger.

2008-07-03 Thread Camer38
I have two Java classes that used log4j. curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter and curam.tools.upgradehelper.taskredirection.TaskRedirectionConverter Both classes from above uses different class: curam.tools.upgradehelper.util.SQLStatements where a logger in each of the cl

"additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-03 Thread Camer38
I have two Java classes that used log4j. curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter and curam.tools.upgradehelper.taskredirection.TaskRedirectionConverter Both classes from above uses different class: curam.tools.upgradehelper.util.SQLStatements where a logger in each of

Re: additivity attribute for logger does not diffrently for root and user-defined logger.

2008-07-03 Thread Camer38
My log file based on the log4j.xml that is picked up as expected. I still do not see the correct/full log from my tool (java class) Buildfile: addQuestionSequenceOrder.xml addQuestionSequenceOrderConverter: [java] log4j: Trying to find [log4j.xml] using context classloader [EMAIL PROTECTED]

Re: additivity attribute for logger does not diffrently for root and user-defined logger.

2008-07-03 Thread Camer38
Any chance for an advice , please? -- View this message in context: http://www.nabble.com/additivity-attribute-for-logger-does-not-diffrently-for-root-and-user-defined-logger.-tp18259080p18260179.html Sent from the Log4j - Users mailing list archive at Nabble.com. -

RE: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-03 Thread Camer38
It is correct log4j.xml http://jakarta.apache.org/log4j/";> -- View this

RE: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-03 Thread Camer38
Could you help me with defining a correct log4j.xml file? Bender Heri wrote: > > Please provide your full log4j.xml. > Heri > >> -Original Message- >> From: Camer38 [mailto:[EMAIL PROTECTED] >> Sent: Thursday, July 03, 2008 3:26 PM >> To: log4j-user@l

Re: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-03 Thread Camer38
ivity="true" is present at all? It does nothing. MR. Thorbjørn Ravn Andersen wrote: > > Camer38 skrev den 03-07-2008 15:25: >> My assumption was that if I run one of the class >> curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter I would got >> al

Re: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-04 Thread Camer38
Thanks. So, is it any way to define a logger to works the same way as root logger does? Carol Enderlin wrote: > > My answers below... > >> Why the root logger defined: >> >> >> >> >> >> knows that all the logs from ALL the classes should go the the file >> specif

Re: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-07 Thread Camer38
Kjome wrote: > > > > Camer38 wrote: >> I have two Java classes that used log4j. >> >> curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter and >> curam.tools.upgradehelper.taskredirection.TaskRedirectionConverter >

RE: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-07 Thread Camer38
top looking further up for more loggers. > With additivity=true you will end up to have the same log statement twice > in your appender, with additivity=false only the appenders of the logger > "foo.bar" were served. > > Heri > >> -Original Message- >

RE: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-07 Thread Camer38
Yes. the foo.bar.XY and com.create.CR has some logging messages as well that needs to go to the right log file. Thanks for helping me with it. M. Bender Heri wrote: > > Questions see inline. > Heri > >> -Original Message- >> From: Camer38 [mailto:[EMAIL PROTEC

RE: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-08 Thread Camer38
t; > 3. Since the AppA and AppB run in different threads you could use a MDC > value within UtilityC in order to distinguish the loggers. Maybe in > combination with a own Repository-Selector which relies on the actual > values in MDC. Search the archive, this was discussed a lot,

log4j 1.2.15 DOMConfigurator.subst

2010-04-09 Thread Camer38
Any chance for a help or at lease link to working example of DOMConfigurator.subst I try to use DOMConfigurator.subst to change dynamically in Java code location of the output logging file. See log4j.xml below. The following code is called in main method to set up file location: private

Re: log4j 1.2.15 DOMConfigurator.subst

2010-04-09 Thread Camer38
The full log4j.xml is: http://jakarta.apache.org/log4j/"; threshold="null" > -- View this message in context: http://old.nabble.com/log4j-1.2.15-DOMConfigurator.subst-tp28189312p28189336.html Sent from the Log4j - Users m