summaryrefslogtreecommitdiff
path: root/accel-pptpd/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/log.c')
-rw-r--r--accel-pptpd/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pptpd/log.c b/accel-pptpd/log.c
index e942686b..476c077f 100644
--- a/accel-pptpd/log.c
+++ b/accel-pptpd/log.c
@@ -425,6 +425,10 @@ static void __init log_init(void)
.sa_handler = sighup,
};
+ opt = conf_get_opt("log", "level");
+ if (opt && atoi(opt) >= 0)
+ log_level = atoi(opt);
+
opt = conf_get_opt("log", "log-emerg");
if (opt) {
emerg_file = fopen(opt, "a");