From 9e3381cc858e249b13777e31cfc40a87f8d10bb7 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 29 Nov 2017 00:02:01 +0100 Subject: nxproxy/nxcomp: document logging options --- nxproxy/man/nxproxy.1 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'nxproxy') diff --git a/nxproxy/man/nxproxy.1 b/nxproxy/man/nxproxy.1 index ecfe3b0d6..702c7a606 100644 --- a/nxproxy/man/nxproxy.1 +++ b/nxproxy/man/nxproxy.1 @@ -36,6 +36,34 @@ Print this message. .B -v Print version information. .TP 8 +.B -d +Set log level (0 for FATAL, 1 for ERROR, 2 for WARNING, 3 for INFO, 4 for +DEBUG). The default is 0. +.TP 8 +.B -o +Name of the log file. Default is stderr. +.TP 8 +.B -f +Specify log format. The characters in define how the loglines +are formatted. The following characters are supported, default is '0': +.RS 8 +.TP 8 +.I 0 +only the plain text without any additions. This is the default. +.TP 8 +.I u +include time +.TP 8 +.I l +include loglevel +.TP 8 +.I T +include thread ids +.TP 8 +.I L +include the location of the log call in the source code +.RE +.TP 8 .B : Put at the end, specifies the host and port of the listening proxy. -- cgit v1.2.3