mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 01:40:27 +00:00
Improve documentation for --syslog
This commit is contained in:
parent
8f6d04095b
commit
dc412a450e
@ -53,6 +53,9 @@ Don't fork a child and don't detach from controlling terminal.
|
|||||||
All log messages go to the console and you can use CTRL-C to
|
All log messages go to the console and you can use CTRL-C to
|
||||||
terminate the server.
|
terminate the server.
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-y\fR, \fB\-\-syslog\fR
|
||||||
|
Write log messages to the syslog even when running in the foreground.
|
||||||
|
.TP
|
||||||
\fB\-p\fR, \fB\-\-passive\fR
|
\fB\-p\fR, \fB\-\-passive\fR
|
||||||
Disable automatic connections to other servers. You can use the IRC command
|
Disable automatic connections to other servers. You can use the IRC command
|
||||||
CONNECT later on as IRC Operator to link this ngIRCd to other servers.
|
CONNECT later on as IRC Operator to link this ngIRCd to other servers.
|
||||||
|
@ -63,7 +63,7 @@ Log_Message(int Level, const char *msg)
|
|||||||
* Initialitze logging.
|
* Initialitze logging.
|
||||||
* This function is called before the configuration file is read in.
|
* This function is called before the configuration file is read in.
|
||||||
*
|
*
|
||||||
* @param Syslog_Mode Set to true if ngIRCd is running as daemon.
|
* @param Syslog_Mode Set to true if ngIRCd is configured to log to the syslog.
|
||||||
*/
|
*/
|
||||||
GLOBAL void
|
GLOBAL void
|
||||||
Log_Init(bool Syslog_Mode)
|
Log_Init(bool Syslog_Mode)
|
||||||
|
@ -492,7 +492,7 @@ Show_Help( void )
|
|||||||
puts( " -t, --configtest read, validate and display configuration; then exit" );
|
puts( " -t, --configtest read, validate and display configuration; then exit" );
|
||||||
puts( " -V, --version output version information and exit" );
|
puts( " -V, --version output version information and exit" );
|
||||||
#ifdef SYSLOG
|
#ifdef SYSLOG
|
||||||
puts( " -y, --syslog log to syslog even when using -n" );
|
puts( " -y, --syslog log to syslog even when running in the foreground (-n)" );
|
||||||
#endif
|
#endif
|
||||||
puts( " -h, --help display this help and exit" );
|
puts( " -h, --help display this help and exit" );
|
||||||
} /* Show_Help */
|
} /* Show_Help */
|
||||||
|
Loading…
Reference in New Issue
Block a user