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

25 mtx-changer: add and package a logrotate script #2005

Open
bruno-at-bareos opened this issue Nov 7, 2024 · 0 comments · May be fixed by #2039
Open

25 mtx-changer: add and package a logrotate script #2005

bruno-at-bareos opened this issue Nov 7, 2024 · 0 comments · May be fixed by #2039
Assignees
Milestone

Comments

@bruno-at-bareos
Copy link
Contributor

some people are using the debug=1 setup for mtx-changer operation which create
/var/log/mtx.log

We don't distribute a logrotate script which would allow rotation of that file.
should goes in same package as mtx-changer bareos-storage-tape

#
# If you are appending to a log file (default), to
#   have your log file compressed, rotated, and after a time
#   deleted, after possibly editing the values below,
#   copy this file to:
#
#      /etc/logrotate.d/bareos-mtx
#
/var/log/bareos/mtx.log {
    monthly
    rotate 12
    notifempty
    missingok
    su bareos bareos
}
@bruno-at-bareos bruno-at-bareos self-assigned this Nov 7, 2024
@bruno-at-bareos bruno-at-bareos added this to the 25.0.0 milestone Nov 7, 2024
@bruno-at-bareos bruno-at-bareos linked a pull request Nov 26, 2024 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant