summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.14
-rw-r--r--radsecproxy.c4
-rw-r--r--radsecproxy.conf.5.xml4
3 files changed, 6 insertions, 6 deletions
diff --git a/radsecproxy.1 b/radsecproxy.1
index 7f52ef7..f1790e2 100644
--- a/radsecproxy.1
+++ b/radsecproxy.1
@@ -46,8 +46,8 @@ is, it won't detach. Also all logging will be done to stderr.
.sp
\fIDebug level\fR
.sp
-This specifies the debug level. It must be set to 1, 2, 3 or 4, where 1
-logs only serious errors, and 4 logs everything. The default is 2 which
+This specifies the debug level. It must be set to 1, 2, 3, 4 or 5, where
+1 logs only serious errors, and 5 logs everything. The default is 2 which
logs errors, warnings and a few informational messages.
.TP
diff --git a/radsecproxy.c b/radsecproxy.c
index 9b1980b..5e50b96 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -3062,7 +3062,7 @@ void getmainconfig(const char *configfile) {
if (loglevel != LONG_MIN) {
if (loglevel < 1 || loglevel > 4)
- debugx(1, DBG_ERR, "error in %s, value of option LogLevel is %d, must be 1, 2, 3 or 4", configfile, loglevel);
+ debugx(1, DBG_ERR, "error in %s, value of option LogLevel is %d, must be 1, 2, 3, 4 or 5", configfile, loglevel);
options.loglevel = (uint8_t)loglevel;
}
if (addttl != LONG_MIN) {
@@ -3088,7 +3088,7 @@ void getargs(int argc, char **argv, uint8_t *foreground, uint8_t *pretend, uint8
break;
case 'd':
if (strlen(optarg) != 1 || *optarg < '1' || *optarg > '4')
- debugx(1, DBG_ERR, "Debug level must be 1, 2, 3 or 4, not %s", optarg);
+ debugx(1, DBG_ERR, "Debug level must be 1, 2, 3, 4 or 5, not %s", optarg);
*loglevel = *optarg - '0';
break;
case 'f':
diff --git a/radsecproxy.conf.5.xml b/radsecproxy.conf.5.xml
index c3ff612..4024bde 100644
--- a/radsecproxy.conf.5.xml
+++ b/radsecproxy.conf.5.xml
@@ -128,8 +128,8 @@ occurences is undefined.
<term><literal>logLevel</literal></term>
<listitem>
<para>
-This option specifies the debug level. It must be set to 1, 2, 3 or 4, where 1
-logs only serious errors, and 4 logs everything. The default is 2 which logs
+This option specifies the debug level. It must be set to 1, 2, 3, 4 or 5, where
+1 logs only serious errors, and 5 logs everything. The default is 2 which logs
errors, warnings and a few informational messages. Note that the command line
option <option>-d</option> overrides this.
</para>