Log files

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Log files

Postby caspar » Mon Apr 02, 2007 4:20 am

I would like to know how does VICIDIAL's log files work.

Is there a setting somewhere to limit the file size or number of entries or even switch it off?

I have noticed that the /var/log/astguiclient directory becomes huge after a couple of months. Almost 9GB for log files is a bit overwhelming for me, especially if system has been used for only two months. This probably also waste a lot of CPU power and unnecessary disk activity.

I understand the debugging information is crucial for developers, but does a production system really need all the details recorded in the log files?
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Mon Apr 02, 2007 6:47 am

What version of astguiclient are you using?

You can disable the logs entirely by setting the server logs setting on the server to N and the agi output setting to NONE(in the servers section of admin.php).
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Mon Apr 02, 2007 7:23 am

I'm using 2.0.2. Thanks, I found the setting you were talking about. I did not think it would be that simple. :oops:
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Mon Apr 02, 2007 9:26 am

You're welcome, and it wasn't that simple in earlier versions, adding the logging control was a pain, but a very good thing in the end.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gardo » Tue Apr 03, 2007 12:44 pm

you can also have the log rotation (logrotate) script run every after office hours. i usually run mine 4am EST once every week. that way old logs are compressed by gzip and dont consume too much space. :wink:
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 71 guests