Details
-
Bug
-
Resolution: Fixed
-
Minor
-
4.5.1
-
-
Empty show more show less
-
Saigon 114, Saigon 115
-
2
Description
In the log4j.xml bundled in the core jar (which is used during initialization, before we load the one configured via properties), we still configure the following:
<category name="info.magnolia.cms.servlets.MgnlServletContextListener"> <priority value="DEBUG"/> </category>
As far as I can tell, that class doesn't log anything anymore; conversely, info.magnolia.init.MagnoliaServletContextListener does (albeit nothing in debug).
The reason I can across this is I was looking for the debug line printed by info.magnolia.init.DefaultMagnoliaInitPaths, so I have 3 suggestions:
- Remove the log config for MgnlServletContextListener (it's useless), and
- Replace it by info.magnolia.init in DEBUG level, or
- Switch the log.debug("servername is {}, rootPath is {}, webapp is {}, contextPath is {}", new Object[]{serverName, rootPath, webappFolderName, contextPath}); line to INFO level.
Checklists
Acceptance criteria