Commit 545da42b authored by venaas's avatar venaas Committed by venaas

fixed syslog url syntax, updated example config and manpage

git-svn-id: e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 1ebcdd0a
......@@ -70,6 +70,8 @@ int debug_set_destination(char *dest) {
if (!strncasecmp(dest, "x-syslog://", 11)) {
dest += 11;
if (*dest == '/')
if (*dest) {
for (i = 0; facstrings[i]; i++)
if (!strcasecmp(dest, facstrings[i]))
......@@ -2298,7 +2298,7 @@ int main(int argc, char **argv) {
options.logdestination = NULL;
else {
if (!options.logdestination)
options.logdestination = "x-syslog://";
options.logdestination = "x-syslog:///";
......@@ -17,8 +17,8 @@
# Or logging with Syslog. LOG_DAEMON used if facility not specified
# The supported facilities are LOG_DAEMON, LOG_MAIL, LOG_USER and
#LogDestination x-syslog://
#LogDestination x-syslog://log_local2
#LogDestination x-syslog:///
#LogDestination x-syslog:///log_local2
#If we have TLS clients or servers we must define at least one tls block.
#You can name them whatever you like and then reference them by name when
.TH radsecproxy.conf 5 "7 June 2007"
.TH radsecproxy.conf 5 "13 June 2007"
radsecproxy.conf - Radsec proxy configuration file
......@@ -80,7 +80,7 @@ syslog with facility \fBLOG_DAEMON\fR. Using this option you can specify another
syslog facility, or you may specify that logging should be to a particular file,
not using syslog. The value must be either a \fIfile\fR or \fIsyslog\fR URL. The
file URL is the standard one, specifying a local file that should be used. For
syslog, you must do use the following URL syntax: \fBx-syslog://FACILITY\fR where
syslog, you must use the syntax: \fBx-syslog:///FACILITY\fR where
\fBFACILITY\fR must be one of \fBLOG_DAEMON\fR, \fBLOG_MAIL\fR, \fBLOG_USER\fR,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment