Skip to content

Log files are not being cleaned up #5966

Description

@shinrich

Noticed that while testing ATS9 in production, the log disk files up once a day. The logging settings that we had used for our version of ATS7 are not kicking in to delete files running over the limit.

The files are rotating as expected. Here are the settings we are using

proxy.config.log.rolling_enabled: 3
proxy.config.log.rolling_interval_sec: 900
proxy.config.log.rolling_offset_hr: 0
proxy.config.log.rolling_size_mb: 6000
proxy.config.log.auto_delete_rolled_files: 1
proxy.config.diags.logfile.rolling_enabled: 3
proxy.config.diags.logfile.rolling_interval_sec: 86400
proxy.config.diags.logfile.rolling_size_mb: 6000
proxy.config.output.logfile.rolling_enabled: 3
proxy.config.output.logfile.rolling_interval_sec: 86400
proxy.config.output.logfile.rolling_size_mb: 6000
proxy.config.output.logfile.rolling_min_count: 0
proxy.config.diags.logfile.rolling_min_count: 0
proxy.config.log.rolling_min_count: 0
proxy.config.log.rolling_max_count: 0
proxy.config.log.rolling_allow_empty: 0

The rolling_size_mb settings do not seem to be enforced.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions