Configure log plugin in conf.serial

This commit is contained in:
Daniel Berteaud 2013-07-03 16:57:09 +02:00
parent 1514276966
commit 67f7bbd7d3
1 changed files with 10 additions and 0 deletions

View File

@ -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);
}