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

Bucket_logging: Reset rsyslogd after logrotation #7923

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

aspandey
Copy link
Contributor

When logrotate rotates bucket_logs.log file after
it reaches a given size, rsyslogd could not send logs to bucket_logs.log file as it still has old fd opened for this file.

To fix this we need to send HUP signal after every rotation of logs.

When logrotate rotates bucket_logs.log file after
it reaches a given size, rsyslogd could not send logs to
bucket_logs.log file as it still has old fd opened for this file.

To fix this we need to send HUP signal after every rotation of logs.

Signed-off-by: Ashish Pandey <aspandey@redhat.com>
@aspandey aspandey force-pushed the bucket_log_testing branch from 44fae67 to d86bb1b Compare March 24, 2024 18:25
@aspandey aspandey merged commit cd055f1 into noobaa:master Mar 25, 2024
10 checks passed
@aspandey aspandey deleted the bucket_log_testing branch March 25, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants