I wrote a shell program on CakePHP 2.1, and I wanted to write log. So I wrote like below.
CakeLog::write(LOG_DEBUG, $msg);
I want to write the $msg to debug.log
, but it wrote to error.log
.
Is there someone who solve this problem?
Please tell me how to write to debug.log
.
Thanks.