aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
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 /nxcomp
parent3fcb8e4eef391fe7effe3809eec092a36091fc08 (diff)
downloadnx-libs-9e3381cc858e249b13777e31cfc40a87f8d10bb7.tar.gz
nx-libs-9e3381cc858e249b13777e31cfc40a87f8d10bb7.tar.bz2
nx-libs-9e3381cc858e249b13777e31cfc40a87f8d10bb7.zip
nxproxy/nxcomp: document logging options
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/src/Misc.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp
index 947026c82..7e468f1e2 100644
--- a/nxcomp/src/Misc.cpp
+++ b/nxcomp/src/Misc.cpp
@@ -132,6 +132,20 @@ static const char UsageInfo[] =
\n\
-v Print version information.\n\
\n\
+ -d <n> Set log level (0=FATAL, 1=ERROR, 2=WARNING, 3=INFO,\n\
+ 4=DEBUG). Default is 0.\n\
+\n\
+ -o <file> Name of the logfile. Default is stderr.\n\
+\n\
+ -f <string> Specify log format. The characters in <string> define\n\
+ how the loglines are formatted. The following characters\n\
+ are supported, default is 0:\n\
+ 0 only the plain text without any additions\n\
+ u include time\n\
+ l include loglevel\n\
+ T include thread ids\n\
+ L include the source code location of the log\n\
+\n\
host:port Put at the end, specifies the host and port of the\n\
listening proxy.\n\
\n\