[symfony-users] Write logs by datem, and not stored all into prod.log or dev.log

2011-05-26 Thread kassel
Hi, how i can stored logs by date, every day write a new log-date.log, becose it could be easly to mantain. Thanks -- Best Regards -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

Re: [symfony-users] Write logs by datem, and not stored all into prod.log or dev.log

2011-05-26 Thread Christophe COEVOET
Le 26/05/2011 11:46, kassel a écrit : Hi, how i can stored logs by date, every day write a new log-date.log, becose it could be easly to mantain. Thanks -- Best Regards Which version of Symfony are you using ? 1 or 2 ? For Symfony2, Monolog provide a RotatingFileHandler doing this (use it

Re: [symfony-users] Write logs by datem, and not stored all into prod.log or dev.log

2011-05-26 Thread Alvaro Touzon
Hi Christophe can you xplain more it, or give me an url to do it. Thanks 2011/5/26 Christophe COEVOET s...@notk.org Le 26/05/2011 11:46, kassel a écrit : Hi, how i can stored logs by date, every day write a new log-date.log, becose it could be easly to mantain. Thanks -- Best Regards

Re: [symfony-users] Write logs by datem, and not stored all into prod.log or dev.log

2011-05-26 Thread Christophe COEVOET
Le 26/05/2011 12:08, Alvaro Touzon a écrit : Hi Christophe can you xplain more it, or give me an url to do it. Thanks See the Readme of the Monolog library which describes the available handlers: https://github.com/Seldaek/monolog To use a RotatingFileHandler in your Sf2 project, configure