Configure log plugin in conf.serial
This commit is contained in:
parent
1514276966
commit
67f7bbd7d3
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue