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

Re: [cobalt-users] RaQ2: log files truncating?



Logrotate (see man logroate), will rotate your logs every now and
again(i.e.: take the current log, zip it and put it in the logs directory as
web.log.[number].gz , this prevents logs getting too big because they get
zipped.
If you're using a stats program, not all of them understand to uncompress
logfiles and then read them back in.

If your stats program doesn't understand compressed files, you could always
uncompress them temporarily, or not so temporary, but the uncompressed logs
will go through some disk space depending on traffic(we run around 50mb for
every quarter of a million hits)

On the same topic though,
When we looked at the logs for a site recently though, I noticed that
everything before oct17 was gone with no sign of the logs from before that
point which is really curious because that site had been running for over a
month.

HTH

----- Original Message -----
From: <jmcclumpha@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, November 08, 2001 9:16 PM
Subject: [cobalt-users] RaQ2: log files truncating?


> Hi guys,
>
> Im just wondering if someone can tell me when/here/how to alter how
> much of a history the raq keeps in its log files? (those stored in
> /home/sites/site1/logs for example)
>
> I have viewed some of the log files recently and unfortunately the
> history doesnt go back far enough for my requirements (not much I can
> do now) - are these stored elsewhere or is there someway I can change
> the settings to avoid this in the future?
>
> thanks in advance
>
> --
> John McClumpha
> jmcclumpha@xxxxxxxxxxxxx
> Hosted Internet Services
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>