Commit 93023acc authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Make --accesslog-format usage doc help2man friendly

This is unfortunate but help2man behaves badly when there is indented
lines in help messages in commnad-line args.  We removed indentations
to make help2man happy.
parent daf659c6
...@@ -1129,21 +1129,19 @@ Logging: ...@@ -1129,21 +1129,19 @@ Logging:
Specify format string for access log. The Specify format string for access log. The
default format is combined format. The following default format is combined format. The following
variables are available: variables are available:
$remote_addr: client IP address $remote_addr: client IP address.
$time_local: local time in Common Log format $time_local: local time in Common Log format.
$time_iso8601: local time in ISO 8601 format $time_iso8601: local time in ISO 8601 format.
$request: HTTP request line $request: HTTP request line.
$status: HTTP response status code. $status: HTTP response status code.
$body_bytes_sent: the number of bytes sent $body_bytes_sent: the number of bytes sent to
to client as response body client as response body.
$http_<VAR>: value of HTTP request header <VAR> $http_<VAR>: value of HTTP request header <VAR>
where '_' in <VAR> is replaced with where '_' in <VAR> is replaced with '-'.
'-'. $remote_port: client port.
$remote_port: client port $server_port: server port.
$server_port: server port
$request_time: request processing time in $request_time: request processing time in
seconds with milliseconds seconds with milliseconds resolution.
resolution.
Default: )" Default: )"
<< DEFAULT_ACCESSLOG_FORMAT << R"( << DEFAULT_ACCESSLOG_FORMAT << R"(
--errorlog-file=<PATH> --errorlog-file=<PATH>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment