22 lines
833 B
Plaintext
22 lines
833 B
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
|
|
|
|
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
|
|
Creating new state
|
|
Now: 2024-04-30 03:45
|
|
Last rotated at 2024-04-30 03:00
|
|
log does not need rotating (log has been already rotated)
|
|
considering log /var/log/nginx/logrotate.log
|
|
Creating new state
|
|
Now: 2024-04-30 03:45
|
|
Last rotated at 2024-04-30 03:00
|
|
log does not need rotating (log has been already rotated)
|
|
not running prerotate script, since no logs will be rotated
|
|
not running postrotate script, since no logs were rotated
|