Browse Source

Document dependency between new-log-timestamp-format and new-log-timestamp

Pavel Punsky 3 years ago
parent
commit
41a8aa09ff
2 changed files with 2 additions and 2 deletions
  1. 1 1
      examples/etc/turnserver.conf
  2. 1 1
      src/apps/relay/mainrelay.c

+ 1 - 1
examples/etc/turnserver.conf

@@ -542,7 +542,7 @@
 # Enable full ISO-8601 timestamp in all logs.
 #new-log-timestamp
 
-# Set timestamp format (in strftime(1) format)
+# Set timestamp format (in strftime(1) format). Depends on new-log-timestamp to be enabled.
 #new-log-timestamp-format "%FT%T%z"
 
 # Disabled by default binding logging in verbose log mode to avoid DoS attacks.

+ 1 - 1
src/apps/relay/mainrelay.c

@@ -629,7 +629,7 @@ static char Usage[] = "Usage: turnserver [options]\n"
 "						name will be constructed as-is, without PID and date appendage.\n"
 "						This option can be used, for example, together with the logrotate tool.\n"
 " --new-log-timestamp				Enable full ISO-8601 timestamp in all logs.\n"
-" --new-log-timestamp-format    	<format>	Set timestamp format (in strftime(1) format)\n"
+" --new-log-timestamp-format    	<format>	Set timestamp format (in strftime(1) format). Depends on --new-log-timestamp to be enabled.\n"
 " --log-binding					Log STUN binding request. It is now disabled by default to avoid DoS attacks.\n"
 " --stale-nonce[=<value>]			Use extra security with nonce value having limited lifetime (default 600 secs).\n"
 " --max-allocate-lifetime	<value>		Set the maximum value for the allocation lifetime. Default to 3600 secs.\n"