Configure log plugin in conf.serial

tags/0.1.7
Daniel Berteaud 12 years ago
parent 1514276966
commit 67f7bbd7d3
  1. 10
      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);
}

Loading…
Cancel
Save