1. Home
  2. Security Hardening
  3. CIS Apache Tomcat 7 L2 V1.1.0
  4. Configure log file size limit (verify java.util.logging.FileHandler.limit is present)

Configure log file size limit (verify java.util.logging.FileHandler.limit is present)

Details

By default, the logging.properties file will have no defined limit for the log file size. This is a potential denial of service attack as it would be possible to fill a drive or partition containing the log files.

Solution

Create the following entry in your logging.properties file. This field is specified in bytes.
java.util.logging.FileHandler.limit=10000

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles