Skip to content

Commit f5a4e0c

Browse files
authored
Revert "Update logging.md" (#393)
Revert "Update logging.md (#390)" This reverts commit 26a1c7e.
1 parent 1847fa0 commit f5a4e0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/nginx/admin-guide/monitoring/logging.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Capture detailed information about errors and request processing in log
33
files, either locally or via syslog.
44
docs: DOCS-426
5-
title: Configure Logging
5+
title: Configuring Logging
66
toc: true
77
weight: 200
88
type:
@@ -12,7 +12,7 @@ type:
1212
This article describes how to configure logging of errors and processed requests in NGINX Open Source and NGINX Plus.
1313

1414
<span id="error_log"></span>
15-
## Set Up the Error Log
15+
## Setting Up the Error Log
1616

1717
NGINX writes information about encountered issues of different severity levels to the error log. The [error_log](https://nginx.org/en/docs/ngx_core_module.html#error_log) directive sets up logging to a particular file, `stderr`, or `syslog` and specifies the minimal severity level of messages to log. By default, the error log is located at **logs/error.log** (the absolute path depends on the operating system and installation), and messages from all severity levels above the one specified are logged.
1818

@@ -30,7 +30,7 @@ The default setting of the error log works globally. To override it, place the [
3030
3131

3232
<span id="access_log"></span>
33-
## Set Up the Access Log
33+
## Setting Up the Access Log
3434

3535
NGINX writes information about client requests in the access log right after the request is processed. By default, the access log is located at **logs/access.log**, and the information is written to the log in the predefined **combined** format. To override the default setting, use the [log_format](https://nginx.org/en/docs/http/ngx_http_log_module.html#log_format) directive to change the format of logged messages, as well as the [access_log](https://nginx.org/en/docs/http/ngx_http_log_module.html#access_log) directive to specify the location of the log and its format. The log format is defined using variables.
3636

0 commit comments

Comments
 (0)