From e5297488b05578d1f903b38378a8b107884b28fc Mon Sep 17 00:00:00 2001 From: timdufrane Date: Mon, 18 Nov 2013 08:45:03 -0500 Subject: Add syslog capability --- config/dansguardian/dansguardian.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/dansguardian') diff --git a/config/dansguardian/dansguardian.inc b/config/dansguardian/dansguardian.inc index 12c2af93..7f8f2cca 100755 --- a/config/dansguardian/dansguardian.inc +++ b/config/dansguardian/dansguardian.inc @@ -231,6 +231,7 @@ function sync_package_dansguardian($via_rpc="no",$install_process=false) { $nologger=(preg_match('/nologger/',$dansguardian_log['logging_options'])?"on":"off"); $logadblocks=(preg_match('/logadblocks/',$dansguardian_log['logging_options'])?"on":"off"); $anonymizelogs=(preg_match('/anonymizelogs/',$dansguardian_log['logging_options'])?"on":"off"); + $logsyslog=(preg_match('/logsyslog/',$dansguardian_log['logging_options'])?"on":"off"); $loglevel=($dansguardian_log['loglevel']?$dansguardian_log['loglevel']:"2"); $logexceptionhits=($dansguardian_log['logexceptionhits']?$dansguardian_log['logexceptionhits']:"2"); -- cgit v1.2.3 From e503cf5272a69a58f3da62239464f166a0120081 Mon Sep 17 00:00:00 2001 From: timdufrane Date: Mon, 18 Nov 2013 08:45:48 -0500 Subject: Add syslog capability --- config/dansguardian/dansguardian_log.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'config/dansguardian') diff --git a/config/dansguardian/dansguardian_log.xml b/config/dansguardian/dansguardian_log.xml index 88281dff..97cd5b0b 100644 --- a/config/dansguardian/dansguardian_log.xml +++ b/config/dansguardian/dansguardian_log.xml @@ -197,6 +197,7 @@ + 6 -- cgit v1.2.3 From 175f18fd8f44c7d98ca1ad924393ee991ec13e42 Mon Sep 17 00:00:00 2001 From: timdufrane Date: Mon, 18 Nov 2013 08:58:00 -0500 Subject: Add syslog capability --- config/dansguardian/dansguardian.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/dansguardian') diff --git a/config/dansguardian/dansguardian.conf.template b/config/dansguardian/dansguardian.conf.template index ed514eca..a6bcee1c 100755 --- a/config/dansguardian/dansguardian.conf.template +++ b/config/dansguardian/dansguardian.conf.template @@ -90,7 +90,7 @@ anonymizelogs = {$anonymizelogs} # # Use syslog for access logging instead of logging to the file # at the defined or built-in "loglocation" -#logsyslog = off +logsyslog = {$logsyslog} # Log file location # -- cgit v1.2.3