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 instead of the StreamHandler) but the performances of the rotation are bad. The recommended way to go is to configure logrotate on your server.

--
Christophe | Stof

--
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 to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to