You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "df (Jira)" <ji...@apache.org> on 2019/10/11 13:12:00 UTC
[jira] [Created] (LOG4J2-2706) JsonLayout prevents logging
df created LOG4J2-2706:
--------------------------
Summary: JsonLayout prevents logging
Key: LOG4J2-2706
URL: https://issues.apache.org/jira/browse/LOG4J2-2706
Project: Log4j 2
Issue Type: Bug
Components: Appenders, Layouts
Affects Versions: 2.12.1
Environment: Windows
Reporter: df
Hi,
I have a log4j2.xml configuration with 2 appenders:
* Console with JsonLayout
* RollingFile
In the Loggers section I use an AppenderRef for RollingFile.
Unfortunatelly, the file stays almost empty, compared to when I'm removing the console appender or when I replace the JsonLayout with a PatternLayout.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)