From 67f7bbd7d3e3f5846722dfcbed43b5e4b3d73b5c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 3 Jul 2013 16:57:09 +0200 Subject: [PATCH] Configure log plugin in conf.serial --- .../ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All b/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All index f3f1bea..f8b1329 100644 --- a/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All +++ b/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All @@ -15,6 +15,16 @@ if (($ajaxplorer{'PublicShares'} || 'enabled') eq 'enabled'){ $data->{'core.ajaxplorer'}->{'PUBLIC_DOWNLOAD_URL'} = $ajaxplorer{'PublicDownloadUrl'} || "http://$SystemName.$DomainName/ajxppub"; } +$data->{'core.log'} = { + 'UNIQUE_PLUGIN_INSTANCE' => { + 'LOG_FILE_NAME' => 'log_date(\'m-d-y\').txt', + 'LOG_PATH' => '/var/log/ajaxplorer/', + 'instance_name' => 'log.text', + 'group_switch_value' => 'log.text', + 'LOG_CHMOD' => 770 + } +}; + $OUT = serialize($data); }