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
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
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]
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.
-
It is correct log4j.xml
http://jakarta.apache.org/log4j/";>
--
View this
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
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
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
Kjome wrote:
>
>
>
> Camer38 wrote:
>> I have two Java classes that used log4j.
>>
>> curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter and
>> curam.tools.upgradehelper.taskredirection.TaskRedirectionConverter
>
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-
>
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
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,
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
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
14 matches
Mail list logo