Skip to content

Commit

Permalink
Update site/content/how-to/monitoring/troubleshooting.md
Browse files Browse the repository at this point in the history
Co-authored-by: Saylor Berman <[email protected]>
  • Loading branch information
salonichf5 and sjberman authored Jun 28, 2024
1 parent 1f0bb88 commit e34b8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/how-to/monitoring/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ kubectl logs -n nginx-gateway ngf-nginx-gateway-fabric-bb8598998-jwk2m -c nginx
```

1. NGINX access logs record all requests processed by the NGINX server. These logs provide detailed information about each request, which can be useful for troubleshooting and analyzing web traffic.
To view the access logs, get shell access to your NGINX container using the [steps](#get-shell-access-to-nginx-container). The access logs are located in the file `/var/log/nginx/access.log` in the NGINX container.
Access logs can be viewed with the above method of using `kubectl logs`, or by viewing the access log file directly. To do that, get shell access to your NGINX container using these [steps](#get-shell-access-to-nginx-container). The access logs are located in the file `/var/log/nginx/access.log` in the NGINX container.
Another method to check access logs is by reviewing the container logs for _nginx_ using:

```shell
Expand Down

0 comments on commit e34b8fb

Please sign in to comment.