Skip to content

logrotate: add mtx-changer debug log config#2039

Merged
BareosBot merged 3 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/master/add-mtx-changer-logrotate-script-issue#2005
Jan 16, 2025
Merged

logrotate: add mtx-changer debug log config#2039
BareosBot merged 3 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/master/add-mtx-changer-logrotate-script-issue#2005

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Nov 26, 2024

In case mtx-changer is used with debug mode, it create a log file
in /var/log/bareos/mtx-changer.log that need to be rotated from
time to time.

We now deliver a logrotate script for that task.

Fix issue#2005

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@bruno-at-bareos bruno-at-bareos added this to the 24.0.0 milestone Nov 26, 2024
@bruno-at-bareos bruno-at-bareos self-assigned this Nov 26, 2024
@bruno-at-bareos bruno-at-bareos linked an issue Nov 26, 2024 that may be closed by this pull request
@pstorz pstorz modified the milestones: 24.0.0, 24.0.1 Dec 11, 2024
@pstorz pstorz changed the title scripts: add mtx-changer logrotate script logrotate: add mtx-changer debug log config Dec 11, 2024
@arogge arogge requested review from pstorz and removed request for sduehr January 7, 2025 11:17
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works both on Ubuntu and on RHEL. Well done!

bruno-at-bareos and others added 3 commits January 16, 2025 18:32
In case mtx-changer is used with debug mode, it create a log file
in /var/log/bareos/mtx-changer.log` that need to be rotated from
time to time.

We now deliver a logrotate script for that task.

Fix issue#2005

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
@BareosBot BareosBot force-pushed the dev/bruno/master/add-mtx-changer-logrotate-script-issue#2005 branch from 883b7a3 to 64028fc Compare January 16, 2025 18:33
@BareosBot BareosBot merged commit f83c313 into bareos:master Jan 16, 2025
@bruno-at-bareos bruno-at-bareos deleted the dev/bruno/master/add-mtx-changer-logrotate-script-issue#2005 branch January 20, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

25 mtx-changer: add and package a logrotate script

3 participants