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 --- nxcomp/src/Misc.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'nxcomp') 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 @@ -131,6 +131,20 @@ static const char UsageInfo[] = -h Print this message.\n\ \n\ -v Print version information.\n\ +\n\ + -d Set log level (0=FATAL, 1=ERROR, 2=WARNING, 3=INFO,\n\ + 4=DEBUG). Default is 0.\n\ +\n\ + -o Name of the logfile. Default is stderr.\n\ +\n\ + -f Specify log format. The characters in 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\ -- cgit v1.2.3