naijin Posted January 3, 2008 Share Posted January 3, 2008 Hi, is it possible to set up Apache to use multiple log files instead of a single one? I need a separate log file for each day. Can it be done without perl, etc.? Thanks. Link to comment https://forums.phpfreaks.com/topic/84305-splitting-log-by-date/ Share on other sites More sharing options...
trq Posted January 3, 2008 Share Posted January 3, 2008 You could easily write a script to archive them and run it everyday via cron. Link to comment https://forums.phpfreaks.com/topic/84305-splitting-log-by-date/#findComment-429321 Share on other sites More sharing options...
effigy Posted January 3, 2008 Share Posted January 3, 2008 Cronolog. Link to comment https://forums.phpfreaks.com/topic/84305-splitting-log-by-date/#findComment-429333 Share on other sites More sharing options...
naijin Posted January 3, 2008 Author Share Posted January 3, 2008 CustomLog "|bin/rotatelogs logs/split_logs/ex%y%m%d.log 86400" extended seems to work Link to comment https://forums.phpfreaks.com/topic/84305-splitting-log-by-date/#findComment-429535 Share on other sites More sharing options...
naijin Posted January 3, 2008 Author Share Posted January 3, 2008 Strange ... I'm now getting the following errors repeatedly: File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set '#48' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file Link to comment https://forums.phpfreaks.com/topic/84305-splitting-log-by-date/#findComment-429607 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.