Re: Apache and rotating Logs (for each VHost)
Am 2006-08-16 19:13:05, schrieb Chris Wagner:
> If u have that much log data I would do it on a dedicated reporting server.
But this would prevent Real-Time-Logs for the owner of the VHost.
> It's not good to cut into production CPU time. Have ur web server export
> the log directory(ies) via NFS. Rename the existing log files, have Apache
Over the Internet? :-/
> flush the logs (thereby creating new ones), and have the reporting server
> pull them over. U should really have logrotate do the rotation part.
If I use ONlYy one Logfile, which Interval should I use
for rotation? - Since my $USER want realtime logs.
Note: The controll-interface i inside of the VHost.
This is why I write the logs to ~/log/apache/
> Another way to do it is have the web server NFS mount to the reporting
> server so that the logs are written directly there. I don't think having
> one log file vs. many files makes any difference in terms of processing
> them. If u don't really do anything with them in the first place, ie u just
> "keep" them, then going with one common log will make things easier. Doing
> the rename and flush should be near instant. If ur doing something specific
> we could come up with a better solution if u give some more details.
Hmmm...
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: