Most voted "log4j2" questions
Log4j 2 is the new version released by Apache in order to improve the Log management of a given application.
Learn more…5 questions
Sort by count of
-
2
votes1
answer117
viewsHow to configure log4j2.xml with different parameters per environment
How to use log4j2 with different parameters per environment in spring boot. I need the log to be generated with a different name for each environment.
-
1
votes0
answers61
viewsLoggerfields for Syslog (write priority and stack trace)
Log4j can send logs to Papertrail using a syslog appender (documentation): log4j.appender.syslog=org.apache.log4j.net.SyslogAppender log4j.appender.syslog.Facility=LOCAL7…
-
1
votes1
answer602
viewsLog4j 2.x with multiple files depending on the level
I am a log4j beginner. I want to create a different file for each level of log (warn, error and etc). I have the following xml configuration file: <?xml version="1.0" encoding="UTF-8"?>…
-
1
votes0
answers139
viewsError in log4j2.properties configuration
My mistake: 2018-02-02 03:31:07,300 main ERROR The parameter is null: fileName 2018-02-02 03:31:07,316 main ERROR Could not create plugin of type class…
-
0
votes1
answer383
viewsHow to configure Log4j2 with Spring Boot
Please look at the structure of my project and try to see where my log4j2.xml file is. I set it up that way; Now note line 13 of log4j2.xml file This line has the goal that when the project writes…