📖 DOC: Logs

This commit is contained in:
2024-05-12 18:04:15 +00:00
parent aa12a7fdae
commit 10e6823b09
41 changed files with 27 additions and 28 deletions

View File

@@ -1 +1 @@
2024/05/02 03:45:01 [notice] 4189793#4189793: signal process started
2024/05/12 03:45:01 [notice] 2100536#2100536: signal process started

View File

@@ -1,2 +0,0 @@
2024/05/01 03:45:02 [notice] 3968228#3968228: signal process started
2024/05/01 09:00:20 [notice] 4016779#4016779: signal process started

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
2024/05/11 03:45:01 [notice] 1878015#1878015: signal process started

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -10,26 +10,26 @@ 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: 2024-05-02 03:45
Last rotated at 2024-05-01 03:45
Now: 2024-05-12 03:45
Last rotated at 2024-05-11 03:45
log needs rotating
considering log /var/log/nginx/logrotate.log
Now: 2024-05-02 03:45
Last rotated at 2024-05-01 03:45
Now: 2024-05-12 03:45
Last rotated at 2024-05-11 03:45
log needs rotating
rotating log /var/log/nginx/error.log, log->rotateCount is 30
dateext suffix '-20240502'
dateext suffix '-20240512'
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 '-20240502'
dateext suffix '-20240512'
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-20240502
renaming /var/log/nginx/error.log to /var/log/nginx/error.log-20240512
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-20240502
renaming /var/log/nginx/logrotate.log to /var/log/nginx/logrotate.log-20240512
creating new /var/log/nginx/logrotate.log mode = 0640 uid = 101 gid = 101
running postrotate script
removing old log /var/log/nginx/error.log-20240402.gz
removing old log /var/log/nginx/logrotate.log-20240402.gz
removing old log /var/log/nginx/error.log-20240411.gz
removing old log /var/log/nginx/logrotate.log-20240411.gz