Closed1
Nginxでログが出力されない事象が発生
total 20
-rw-r--r-- 1 root root 15018 Mar 18 03:26 access.log-20220318.gz
-rw-r--r-- 1 nginx root 162 Mar 18 03:27 error.log-20220319.gz
-rw-r--r-- 1 nginx root 0 Mar 18 03:27 access.log
-rw-r--r-- 1 nginx root 0 Mar 19 03:14 error.log
ログが出力されていない。
service nginx restart
Redirecting to /bin/systemctl restart nginx.service
restartかけるとログ出力されるようになった。
total 24
-rw-r--r-- 1 root root 15018 Mar 18 03:26 access.log-20220318.gz
-rw-r--r-- 1 nginx root 162 Mar 18 03:27 error.log-20220319.gz
-rw-r--r-- 1 nginx root 0 Mar 19 03:14 error.log
-rw-r--r-- 1 nginx root 626 Mar 23 11:02 access.log
このスクラップは2023/02/11にクローズされました