Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun May 19, 2019 1:34 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: HUGE debug.log file
PostPosted: Wed Jan 23, 2019 8:24 am 
Offline

Joined: Tue Dec 04, 2018 12:16 pm
Posts: 4
Ran out of disk space on a server....found that the debug.log file had grown to 64 gigs!

I searched around for a bit and didn't find any quick fixes so I took a look on the server. There's a debug log variable in one of the percona php scripts that was writing to it.

Code:
42 $debug      = FALSE; # Define whether you want debugging behavior.
43 #$debug = TRUE;
44 #$debug_log = '/var/log/cacti/debug.log';
45 $debug_log  = FALSE; # If $debug_log is a filename, it'll be used.


Just something to check if you have the same issue! I think I might have turned it on early in the install when I was still troubleshooting and forgot to comment it back out.


Attachments:
Debug.log.png
Debug.log.png [ 11.84 KiB | Viewed 85 times ]
Top
 Profile  
 
 Post subject: Re: HUGE debug.log file
PostPosted: Wed Jan 23, 2019 2:35 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2472
We don't create a debug.log so that sounds like something specific with their scripts. Maybe it's somethign that got enabled to debug an issue and forgotten, or you downloaded a copy of the scripts from someone who had done that then published their changes without reverting the debug flag. Good to know though!

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group