7.2 Specify file handler in logging.properties (check if org.apache.juli.FileHandler logging is enabled in web application)

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Handlers specify where log messages are sent. Console handlers send log messages to the Java console and File handlers specify logging to a file.

Solution

Add the following entries to your logging.properties file if they do not exist.
handlers=org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
Ensure logging is not off and set the logging level to the desired level such as:
org.apache.juli.FileHandler.level=FINEST

See Also

https://workbench.cisecurity.org/files/267

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12

Plugin: Unix

Control ID: a3a1bc5d8f83a79caf002ca11e8d72c43026575a8fcfcd2dabdc039208386e6d