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

pull/963/head
Pavel Punsky 3 years ago
parent 4909e506ae
commit 41a8aa09ff
  1. 2
      examples/etc/turnserver.conf
  2. 2
      src/apps/relay/mainrelay.c

@ -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.

@ -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"

Loading…
Cancel
Save