2.29 Production applications should not log output to the JBoss console - 'JBoss console output log = false'

Information

Turn off console logging in production. Console logging in a production environment is a needless drain on system resources.

Solution

In order to prevent JBoss from logging to console, open the JBOSS_HOME/server/@[email protected]/conf/jboss-log4j.xml file. Next, remove or comment out the <appender-ref> element with a ref attribute value of 'CONSOLE'. This <appender-ref> element will be a child of the <root> element, typically located near the end of the document.

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CAT|III

Plugin: Unix

Control ID: 49b05b5c1b62786ecf76872e1cf65b80df89fa6995ca410b5fd1c26c35a18b38