Large log files. Howto clean up?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Thu Feb 22, 2007 4:01 pm    Post subject: Large log files. Howto clean up? Reply with quote

Hello,

Been cruising along great with Abyss for years now. Thanks Aprelium!

I am using a backup program (2brightSparks). Today it bawked at me because the files I was trying to backup were to big. The major complaints from it are 2 log files.

cgi.log: 585,262 KB
access.log: 62,541 KB

Is this a windows or an abyss thing? And how can I reset or clear them? Also, are these logs something I should be checking on occasion? So far for me Abyss has been set it and forget it. I love it!


Running:
Abyss Personal X1 2.0
Xp Pro Sp2
PIII 128MB
(Server and Abyss soon to be upgraded!)
Back to top View user's profile Send private message AIM Address MSN Messenger
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Thu Feb 22, 2007 5:12 pm    Post subject: Reply with quote

Simply shutdown Abyss, remove the files and restart Abyss.
Back to top View user's profile Send private message
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Thu Feb 22, 2007 7:50 pm    Post subject: Reply with quote

Wonderful, thanks a bunch ;-)

What type of info is stored in these logs? They were too big for notepad to view them. Is it anything I need to be concerned with?

Thanks again!
Back to top View user's profile Send private message AIM Address MSN Messenger
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Thu Feb 22, 2007 8:08 pm    Post subject: Reply with quote

Just information about CGI (PHP errors etc) and every single access attempt on your web server. You may turn logging off (Abyss Web Server Console -> Hosts - Edit - Default Host On Port 80 -> Logging).
Back to top View user's profile Send private message
Gannyaa
-


Joined: 29 Sep 2006
Posts: 93
Location: Nelson, BC -- Canada

PostPosted: Sun Feb 25, 2007 1:36 pm    Post subject: How can I schedule a script to rename my log files? Reply with quote

I was wondering If I could schedule a script or bat file to rename my log files.

So, I need to Schedule a script so that it is executed once a month, or week
to rename the log file from access.log to YYYY-MM-DD.log

Is this easy to implement? Other than shutting down abyss manually?
_________________
Todd (Gannyaa)
http://iGannyaa.bebo.com/
http://haidavision.no-ip.info/gannyaa/newblog.htm
Back to top View user's profile Send private message Send e-mail Visit poster's website
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Feb 26, 2007 2:14 am    Post subject: Reply with quote

AbyssWS Log Splitter
http://www.sourceforge.net/projects/log-splitter/
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Feb 26, 2007 2:21 pm    Post subject: Reply with quote

TRUSTAbyss,

Congratulations for the new project "home".
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Mon Feb 26, 2007 6:35 pm    Post subject: Reply with quote

TRUSTAbyss--

How well would your log splitter integrate with awstats?

I currently use cron and some .bat files to update awstats at 10 am and 10 pm. Only one site gets lots of hits but it can make the awstats run for 5-10 minutes by the end of the week, when I usually delete my log files.

Two questions--does your log splitter still use access.log as the file name of the most recent log? If so, would it be smart to run log splitter right after the the awstats update occurs. (or maybe just after the 10 pm run)

Thanks in advance.

Regards,
Axis
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Feb 26, 2007 6:44 pm    Post subject: Reply with quote

AbyssWS Log Splitter, captures all months (including the year) from your access.log file. Once it has that information, it seperates it to new files in the format of "Month-Year-access.log". I don't know how well it would work with AWStats. It just opens the access.log from your log folder and starts the seperation from the PHP Command Line.

@Aprelium,

Thank you for your nice compliments on this new project. :-)
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group