Merge pull request #1950 from connortechnology/fix_api_logs

fix path to logs for api
This commit is contained in:
Andrew Bauer 2017-07-14 13:19:12 -05:00 committed by GitHub
commit 5cf2be528a
1 changed files with 3 additions and 1 deletions

View File

@ -101,15 +101,17 @@ CakeLog::config('debug', array(
'engine' => 'File',
'types' => array('notice', 'info', 'debug'),
'file' => 'cake_debug',
'path' => '@ZM_LOGDIR@/'
));
CakeLog::config('error', array(
'engine' => 'File',
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
'file' => 'cake_error',
'path' => '@ZM_LOGDIR@/'
));
CakeLog::config('custom_path', array(
'engine' => 'File',
'path' => '@ZM_LOGDIR@'
'path' => '@ZM_LOGDIR@/'
));
Configure::write('ZM_CONFIG', '@ZM_CONFIG@');