You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Tukesh (Jira)" <ji...@apache.org> on 2022/01/21 12:55:00 UTC
[jira] [Created] (LOG4J2-3359) Facility and priority add appended in Syslog message when Syslog log appender and pattern layout is used with log4j1-2 bridge API
Tukesh created LOG4J2-3359:
------------------------------
Summary: Facility and priority add appended in Syslog message when Syslog log appender and pattern layout is used with log4j1-2 bridge API
Key: LOG4J2-3359
URL: https://issues.apache.org/jira/browse/LOG4J2-3359
Project: Log4j 2
Issue Type: Bug
Components: Appenders
Environment: -Dlog4j1.compatibility=true
log4j.properties file :-
log4j.rootLogger=DEBUG,SYSLOG
log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
log4j.appender.SYSLOG.Threshold=DEBUG
log4j.appender.SYSLOG.SyslogHost=localhost:514
log4j.appender.SYSLOG.protocol=UDP
log4j.appender.SYSLOG.Facility=LOCAL1
log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout
log4j.appender.SYSLOG.layout.ConversionPattern=${hostName} MyMain[%pid] :%t: %c %-4p - %m%n
Reporter: Tukesh
Facility and priority add appended in Syslog message when Syslog log appender and pattern layout is used with log4j1-2 bridge API
--
This message was sent by Atlassian Jira
(v8.20.1#820001)