I have two appenders, MAIN_LOG and DEBUG_LOG. I have the loggers set up to match Java class
hierarchy as recommended. I have two interesting codebases, com.mycompany and
com.othercompany.
I want to send DEBUG and higher from com.mycompany and WARN and higher from
com.othercompany to MAIN_LOG.
Mikael,
Ooop, I was in a rust 2 days ago when I copied the xml text into the email, I
left out the line of xml.
So, here is the full xml and I also attached an xml file just so no tabs or
extra spaces of chars get placed in it...
Let me know how this works for you. The original problem was
Mikael,
I think your main problem here is that you cannot put the same logger name
=xxx and have that xxx be the same string, to be able to seperate by logging
level.I think your only way would be to have multiple appenders that each
have their own log file that are by log level.
This is
To whom it may concen
I 'm a beginner in using Log4j and I thought if you had the possibility to help
me with a little problem . I'm using the book the complete log4j manual for my
aid. I got a mission to use log4j for our logging. In the beginning when I
logged with the help of
On Feb 21, 2008, at 4:01 PM, Cosette Kamakian wrote:
To whom it may concen
I ’m a beginner in using Log4j and I thought if you had the
possibility to help me with a little problem . I’m using the book
the complete log4j manual for my aid. I got a mission to use log4j
for our logging. In
The problem it is still their. Received the same error
-Ursprungligt meddelande-
Från: Curt Arnold [mailto:[EMAIL PROTECTED]
Skickat: den 21 februari 2008 23:28
Till: Log4J Users List
Ämne: Re: log4j Guidelines
On Feb 21, 2008, at 4:01 PM, Cosette Kamakian wrote:
To whom it may
Try moving your 'ASYNC' appender definition after all the other appender
definitions. This might be causing your error as none of the other appenders
have been created yet.
Also as a side note, I'd recommend using logger instead of category.
Matt
2008/2/21 Cosette Kamakian [EMAIL PROTECTED]:
Thanks for the help , but that didn't help either.
// cosette
-Ursprungligt meddelande-
Från: Matthew Kemp [mailto:[EMAIL PROTECTED]
Skickat: den 21 februari 2008 23:46
Till: Log4J Users List
Ämne: Re: log4j Guidelines
Try moving your 'ASYNC' appender definition after all the other
On Feb 21, 2008, at 4:38 PM, Cosette Kamakian wrote:
The problem it is still their. Received the same error
If you are still getting this error:
log4j:WARN Fatal parsing error 2 and column 6
log4j:WARN The processing instruction target matching [xX][mM][lL]
is not allowed.
log4j:ERROR
Thank you very very much for the help. It working yippii :)
Good night
Cheers
cosette
-Ursprungligt meddelande-
Från: Curt Arnold [mailto:[EMAIL PROTECTED]
Skickat: den 22 februari 2008 00:02
Till: Log4J Users List
Ämne: Re: SV: log4j Guidelines
On Feb 21, 2008, at 4:38 PM,
I don't anymore. I am pretty new to log4j and started a new project where I
figured it would be nice to be able to have data logged to different tables
based on who the client was. Not the best way to do it, but I was wondering
if there was a way to do this. Now thinking about it, probably not
11 matches
Mail list logo