Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive docker image: Rotate Wildfly Logs (audit-log.log and server.log) files periodically #4183

Closed
gunterze opened this issue Aug 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

Rotate Wildfly Audit Log (audit-log.log) files periodically configurable by Environment Variables

WILDFLY_AUDIT_LOG_SUFFIX

Suffix string for /opt/wildfly/standalone/log/audit-log.log* files. The period of the rotation is automatically calculated
based on the suffix (optional, default is .yyyy-MM-dd).

and enable to delete audit log files older than specified number of days automatically configurable by

WILDFLY_AUDIT_LOG_RETENTION_DAYS (Only effective with WILDFLY_CRON_ENABLED=true)

Delete /opt/wildfly/standalone/log/audit-log.log* files older than specified number of days automatically (optional, default is 7).

Make also suffix for server.log files configurable by

WILDFLY_SERVER_LOG_SUFFIX

Suffix string for /opt/wildfly/standalone/log/server.log* files. The period of the rotation is automatically calculated
based on the suffix (optional, default is .yyyy-MM-dd).

and rename

WILDFLY_LOG_RETENTION_DAYS (Only effective with WILDFLY_CRON_ENABLED=true)

to

WILDFLY_SERVER_LOG_RETENTION_DAYS (Only effective with WILDFLY_CRON_ENABLED=true)

Delete /opt/wildfly/standalone/log/server.log* files older than specified number of days automatically (optional, default is 7).

Related #3709

@gunterze gunterze added the enhancement New feature or request label Aug 17, 2023
@gunterze gunterze added this to the 5.31.0 milestone Aug 17, 2023
@gunterze gunterze self-assigned this Aug 17, 2023
gunterze added a commit to dcm4che-dockerfiles/wildfly that referenced this issue Aug 17, 2023
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-psql that referenced this issue Aug 18, 2023
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-psql that referenced this issue Aug 18, 2023
gunterze added a commit to dcm4che-dockerfiles/dcm4chee-arc-psql that referenced this issue Aug 18, 2023
@petrkalina petrkalina changed the title archive docker image: Rotate Wildfly Audit Log (audit-log.log) files periodically archive docker image: Rotate Wildfly Logs (audit-log.log and server.log) files periodically Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant