Difference between revisions of "Nginx logs"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* [[PHP logs]]: <code>[[zcat -f]] [[/var/log/php*]]</code> | * [[PHP logs]]: <code>[[zcat -f]] [[/var/log/php*]]</code> | ||
* [[Artifactory logs]] | * [[Artifactory logs]] | ||
+ | * [[LEMP]] | ||
== See also == | == See also == |
Latest revision as of 12:14, 3 January 2025
- Error log file:
/var/log/nginx/error.log
- Access log file:
/var/log/nginx/access.log
zcat -f /var/log/nginx/access.log*
- Module ngx_http_log_module http://nginx.org/en/docs/http/ngx_http_log_module.html
access_log
log_format
Activities[edit]
- Track Application Response time in Nginx
zcat -f /var/log/nginx/access.log* | grep " 504 " | awk '{print $4" "$7" "$(NF-1)}'
Related terms[edit]
See also[edit]
- Nginx logs,
/var/log/nginx/error.log
- Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO
Advertising: