As you may know according to the default configuration of CakePHP the debug and error log is generated in the same file. But this can be changed in a few simple steps. All you have to do is following.
Got to config/app.php
Find the ‘Log’ configuration array
In both debug and error replace the ‘file’ with “’debug-‘ . date(‘Y-m-d’),” and “’error-‘ . date(‘Y-m-d’),” respectively
Save the file and you are good to go.
Now, the log will be generated on a daily basis.
Hi, I am Samgan, I excel at solving complex problems involving logic and step by step breakdown of the problem. Besides, to develop complex algorithms, I specialise in problem framing, systems design, and product development strategy. Sometimes I also enjoy public speaking.
I am also the creator of penit.ink, a site which provides young writers with a free hand place to show their creation to the world. Irrespective of the niche, if you write this place is defiantly for you.