👌 IMPROVE: Add new TeamCity agent configuration and update log files for May 2025; remove old logs and compress new ones.
This commit is contained in:
35
https_portal/log/logrotate.log-20250523
Normal file
35
https_portal/log/logrotate.log-20250523
Normal file
@@ -0,0 +1,35 @@
|
||||
reading config file /etc/logrotate.d/nginx
|
||||
olddir is now /var/log/nginx
|
||||
Reading state from file: /var/lib/logrotate/logrotate.status
|
||||
Allocating hash table for state file, size 64 entries
|
||||
Creating new state
|
||||
Creating new state
|
||||
|
||||
Handling 1 logs
|
||||
|
||||
rotating pattern: /var/log/nginx/*.log after 1 days (30 rotations)
|
||||
olddir is /var/log/nginx, empty log files are not rotated, old logs are removed
|
||||
considering log /var/log/nginx/error.log
|
||||
Now: 2025-05-23 03:45
|
||||
Last rotated at 2025-05-22 03:45
|
||||
log needs rotating
|
||||
considering log /var/log/nginx/logrotate.log
|
||||
Now: 2025-05-23 03:45
|
||||
Last rotated at 2025-05-22 03:45
|
||||
log needs rotating
|
||||
rotating log /var/log/nginx/error.log, log->rotateCount is 30
|
||||
dateext suffix '-20250523'
|
||||
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
|
||||
compressing log with: /bin/gzip
|
||||
rotating log /var/log/nginx/logrotate.log, log->rotateCount is 30
|
||||
dateext suffix '-20250523'
|
||||
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
|
||||
compressing log with: /bin/gzip
|
||||
running prerotate script
|
||||
renaming /var/log/nginx/error.log to /var/log/nginx/error.log-20250523
|
||||
creating new /var/log/nginx/error.log mode = 0640 uid = 101 gid = 101
|
||||
renaming /var/log/nginx/logrotate.log to /var/log/nginx/logrotate.log-20250523
|
||||
creating new /var/log/nginx/logrotate.log mode = 0640 uid = 101 gid = 101
|
||||
running postrotate script
|
||||
removing old log /var/log/nginx/error.log-20250422.gz
|
||||
removing old log /var/log/nginx/logrotate.log-20250422.gz
|
||||
Reference in New Issue
Block a user