Details
-
Question
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7
-
Ubuntu 16.04
Description
I am trying to programmatically configure a Log4j2 logger with a Rolling File appender, and am seeing that classnames are not getting printed according to the Layouts page(https://logging.apache.org/log4j/2.x/manual/layouts.html)
Can someone please help me understand why is it that the classname is not getting printed? Is it an existing bug with PatternLayout class?
Test class:
http://pastebin.com/yBQ7mGPC
Output:
http://pastebin.com/cnfnqauz