diff --git a/web/api/app/Config/bootstrap.php.in b/web/api/app/Config/bootstrap.php.in index 7210fd35c..44497ccde 100644 --- a/web/api/app/Config/bootstrap.php.in +++ b/web/api/app/Config/bootstrap.php.in @@ -100,12 +100,16 @@ App::uses('CakeLog', 'Log'); CakeLog::config('debug', array( 'engine' => 'File', 'types' => array('notice', 'info', 'debug'), - 'file' => 'debug', + 'file' => 'cake_debug', )); CakeLog::config('error', array( 'engine' => 'File', 'types' => array('warning', 'error', 'critical', 'alert', 'emergency'), - 'file' => 'error', + 'file' => 'cake_error', +)); +CakeLog::config('custom_path', array( + 'engine' => 'File', + 'path' => '@ZM_LOGDIR@' )); Configure::write('ZM_CONFIG', '@ZM_CONFIG@');