Hello,

I have a problem with the corresponding SysLog levels not appearing in
Syslog when using log4j and a SysLogAppender.

Some more information to describe what I mean:
-----------------------------------------------
Let's say I have this property set for my SyslogAppender A1:
log4j.appender.A1.layout.ConversionPattern=%m

Then in Syslog I would have expected the following string to appear:
<datestamp> <hostname> <facility>.<level> <Message>
Example: Mar 12 11:10:45 donald local5.error This is an error message

But instead I get only:
<datestamp> <hostname> <Message>
Example: Mar 12 11:10:45 donald This is an error message
-------------------------------------------------

So the question is: How do i get <facility>.<level> to appear in the Syslog?

Any help/answers would be highly appreciated!

Regards,
Stein Inge Morisbak

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to