Re: Re: Apache Log File 2GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >>What is the advantage of having larger log files?  Why not rotate daily?
> >>You don't want to rotate once it reaches 2GB.  You should be doing it way
> >>before then.  Large log files are harder to search through and make sense
> >>of.

> Andre Hübner wrote:
> >sense is to have one file that can be webalized cause webalizersystem is 
> >expecting one file.
> >dont want to rescript the webalizersystem which is running on a lot 
> >maschines, just this server is problematical...

On 04.06.08 10:45, André Warnier wrote:
> Hi, just my little 2 cent : we run webalizer with logfiles rotated with 
> logrotate.  The trick is just not to rotate the logfile (logrotate) more 
> often than you run webalizer on it.  Otherwise webalizer misses the 
> chunk that is rotated away.  But webalizer can intelligently reprocess 
> the same file, and is smart enough to skip what it has already seen before.
> Better, use the "firstaction" config parameter of logrotate, to run 
> webalizer on the logfile *before* you rotate it.

or run it on rotated file (usually .1 extension) after rotation, so new
lines are written to new file and analyzer won't miss any line of output.

we have more servers, I plan to rotate some time after midnight, and 
extract/sort/merge files so logs will be extracted on daily basis.
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Where do you want to go to die?" [Microsoft]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux