-
Notifications
You must be signed in to change notification settings - Fork 7
Bug #13788 fix vitamui log rotation compression #2607
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
Open
gueyebabacar
wants to merge
1
commit into
develop
Choose a base branch
from
bug_13788_fix-vitamui-log-rotation-compression
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bug #13788 fix vitamui log rotation compression #2607
gueyebabacar
wants to merge
1
commit into
develop
from
bug_13788_fix-vitamui-log-rotation-compression
+26
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New Issues (67)Checkmarx found the following issues in this Pull Request
Fixed Issues (1)Great job! The following issues were fixed in this Pull Request
|
42ceeb5
to
e7e7927
Compare
GiooDev
requested changes
Mar 31, 2025
9a0770a
to
21bf6c8
Compare
GiooDev
requested changes
Mar 31, 2025
21bf6c8
to
935a58c
Compare
GiooDev
requested changes
Mar 31, 2025
1a6efee
to
81ff4e5
Compare
GiooDev
requested changes
Mar 31, 2025
81ff4e5
to
b394c28
Compare
GiooDev
requested changes
Apr 3, 2025
b394c28
to
9fe8df1
Compare
GiooDev
reviewed
Apr 7, 2025
GiooDev
requested changes
Apr 7, 2025
323bfef
to
4089be6
Compare
GiooDev
requested changes
Apr 8, 2025
4089be6
to
7874572
Compare
GiooDev
requested changes
Apr 8, 2025
7874572
to
0e1eb30
Compare
GiooDev
approved these changes
Apr 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Problem
The
accesslogs
andmanagement_accesslogs
files of VitamUI were not compressed during daily rotation.Resolution
Creation of
/etc/logrotate.d/vitamui
with the following configuration:/vitamui/log/*/accesslog*.log /vitamui/log/*/management_accesslog*.log
"daily"
: Rotation performed once a day."rotate 7"
: Retention of the last 7 versions of the logs before deletion."compress"
: Compression of rotated logs in gzip format (.gz)."missingok"
: Ignores errors if a targeted log file does not exist."notifempty"
: Does not rotate files if they are empty."create 640 root root"
: Creates a new log file after rotation with permissions 640 (read/write for root, read for the root group)."dateext"
: Adds the date to the name of rotated files (e.g., -20250326).Verification that
logrotate
is scheduled in/etc/cron.daily/
for automatic daily execution.Result
The logs are now rotated daily and compressed in .gz format, as required.
Type of Change
Contributor