Logging

Summary

Logging covers how to configure NGINX error and access logs.

Description

Logging covers NGINX error and access logs. You'll start by configuring an error log for your system. Next you'll configure an access log, as well as a customized access log using the log_format directive. You'll understand how to read both your error and access logs, and to configure your log in JSON format for easier reading. You'll wrap up the module with a discussion of logging best practices, rotating logs, and the syslog protocol for exporting your logs. This module has hands-on labs.

Duration

1 minute