The manual (4.6.5) for 1.3 says "Setting Configure::write('log',
false); will disable error logging when debug = 0."
I've tried and still always get logging.
These are my core.php settings.
Configure::write('debug', 0);
Configure::write('log', false);
And the following test logging messages in app_controller,
$this->log('AppController:beforeFilter:test logging:');
$this->log('AppController:beforeFilter:config:debug:'.
Configure::read('debug') .':');
$this->log('AppController:beforeFilter:config:log:'.
Configure::read('log') .':');
$this->log('AppController:beforeFilter:config:version:'.
Configure::version() .':');
generate this in the error.log
2011-02-17 11:03:52 Error: AppController:beforeFilter:test logging:
2011-02-17 11:03:52 Error: AppController:beforeFilter:config:debug:0:
2011-02-17 11:03:52 Error: AppController:beforeFilter:config:log::
2011-02-17 11:03:52 Error: AppController:beforeFilter:config:version:
1.3.7:
It shouldn't be logging anything, should it?
Is the manual wrong, or am I doing something wrong?
Running CakePHP 1.3.7.
Cheers
Peter
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php