diff --git a/README.turnserver b/README.turnserver index 043c08e..57c61a8 100644 --- a/README.turnserver +++ b/README.turnserver @@ -224,6 +224,7 @@ Flags: --simple-log This flag means that no log file rollover will be used, and the log file name will be constructed as-is, without PID and date appendage. + This option can be used, for example, together with the logrotate tool. --secure-stun Require authentication of the STUN Binding request. By default, the clients are allowed anonymous access to the STUN Binding functionality. diff --git a/examples/etc/turnserver.conf b/examples/etc/turnserver.conf index b389b79..844fe77 100644 --- a/examples/etc/turnserver.conf +++ b/examples/etc/turnserver.conf @@ -441,6 +441,8 @@ # This flag means that no log file rollover will be used, and the log file # name will be constructed as-is, without PID and date appendage. +# This option can be used, for example, together with the logrotate tool. +# #simple-log # Option to set the "redirection" mode. The value of this option diff --git a/man/man1/turnadmin.1 b/man/man1/turnadmin.1 index 0c5f98e..dc1bb6a 100644 --- a/man/man1/turnadmin.1 +++ b/man/man1/turnadmin.1 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH TURN 1 "22 July 2014" "" "" +.TH TURN 1 "11 August 2014" "" "" .SH GENERAL INFORMATION \fIturnadmin\fP is a TURN administration tool. This tool can be used to manage diff --git a/man/man1/turnserver.1 b/man/man1/turnserver.1 index 7ccca41..8f2fef0 100644 --- a/man/man1/turnserver.1 +++ b/man/man1/turnserver.1 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH TURN 1 "22 July 2014" "" "" +.TH TURN 1 "11 August 2014" "" "" .SH GENERAL INFORMATION The \fBTURN Server\fP project contains the source code of a TURN server and TURN client @@ -343,6 +343,7 @@ With this flag, all log will be redirected to the system log (syslog). \fB\-\-simple\-log\fP This flag means that no log file rollover will be used, and the log file name will be constructed as\-is, without PID and date appendage. +This option can be used, for example, together with the logrotate tool. .TP .B \fB\-\-secure\-stun\fP diff --git a/man/man1/turnutils.1 b/man/man1/turnutils.1 index 9e74539..5f0a9d9 100644 --- a/man/man1/turnutils.1 +++ b/man/man1/turnutils.1 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH TURN 1 "22 July 2014" "" "" +.TH TURN 1 "11 August 2014" "" "" .SH GENERAL INFORMATION A set of turnutils_* programs provides some utility functionality to be used diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index 3118eb9..bce9a59 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -361,7 +361,8 @@ static char Usage[] = "Usage: turnserver [options]\n" " -X, --external-ip TURN Server public/private address mapping, if the server is behind NAT.\n" " In that situation, if a -X is used in form \"-X ip\" then that ip will be reported\n" " as relay IP address of all allocations. This scenario works only in a simple case\n" -" when one single relay address is be used, and no STUN CHANGE_REQUEST functionality is required.\n" +" when one single relay address is be used, and no STUN CHANGE_REQUEST\n" +" functionality is required.\n" " That single relay address must be mapped by NAT to the 'external' IP.\n" " For that 'external' IP, NAT must forward ports directly (relayed port 12345\n" " must be always mapped to the same 'external' port 12345).\n" @@ -499,6 +500,7 @@ static char Usage[] = "Usage: turnserver [options]\n" " --syslog Output all log information into the system log (syslog), do not use the file output.\n" " --simple-log This flag means that no log file rollover will be used, and the log file\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" " --stale-nonce Use extra security with nonce value having limited lifetime (600 secs).\n" " -S, --stun-only Option to set standalone STUN operation only, all TURN requests will be ignored.\n" " --no-stun Option to suppress STUN functionality, only TURN requests will be processed.\n"