Syntax: log_format
name
[escape=default|json]
string ...; Default: log_format combined "..."; Context: http
Specifies log format.
The escape parameter (1.11.8) allows setting json or default characters escaping in variables, by default, default escaping is used.
The log format can contain common variables, and variables that exist only at the time of a log write:
$bytes_sent the number of bytes sent to a client $connection connection serial number
$connection