aboutsummaryrefslogtreecommitdiff
path: root/nxproxy
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-11-29 00:02:01 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-07 06:25:08 +0100
commit9e3381cc858e249b13777e31cfc40a87f8d10bb7 (patch)
tree9c60a8fd89148cf273378ca73a4becec4383fbf3 /nxproxy
parent3fcb8e4eef391fe7effe3809eec092a36091fc08 (diff)
downloadnx-libs-9e3381cc858e249b13777e31cfc40a87f8d10bb7.tar.gz
nx-libs-9e3381cc858e249b13777e31cfc40a87f8d10bb7.tar.bz2
nx-libs-9e3381cc858e249b13777e31cfc40a87f8d10bb7.zip
nxproxy/nxcomp: document logging options
Diffstat (limited to 'nxproxy')
-rw-r--r--nxproxy/man/nxproxy.128
1 files changed, 28 insertions, 0 deletions
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 <int>
+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 <string>
+Name of the log file. Default is stderr.
+.TP 8
+.B -f <string>
+Specify log format. The characters in <string> 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 <host>:<port>
Put at the end, specifies the host and port of the listening proxy.