Files
Team-City/https_portal/log/logrotate.log-20250829

36 lines
1.4 KiB
Plaintext

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-08-29 03:45
Last rotated at 2025-08-28 03:45
log needs rotating
considering log /var/log/nginx/logrotate.log
Now: 2025-08-29 03:45
Last rotated at 2025-08-28 03:45
log needs rotating
rotating log /var/log/nginx/error.log, log->rotateCount is 30
dateext suffix '-20250829'
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 '-20250829'
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-20250829
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-20250829
creating new /var/log/nginx/logrotate.log mode = 0640 uid = 101 gid = 101
running postrotate script
removing old log /var/log/nginx/error.log-20250730.gz
removing old log /var/log/nginx/logrotate.log-20250730.gz