Safe to clear mod_gearman logs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dkumar
Posts: 8
Joined: Mon Oct 29, 2018 4:54 am

Safe to clear mod_gearman logs

Post by dkumar »

Hi,

mod_gearman_neb.log file on my server has become huge. Just want to confirm if it is safe to clear files mod_gearman_neb.log and mod_gearman_worker.log completely. Just want to be sure.I hope it will not cause any complications.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Safe to clear mod_gearman logs

Post by npolovenko »

@dkumar, You can run the following command:
> mod_gearman_worker.log
This will delete all contents but leave the log file itself.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dkumar
Posts: 8
Joined: Mon Oct 29, 2018 4:54 am

Re: Safe to clear mod_gearman logs

Post by dkumar »

Yes this is what we do to delete all content and leave the blank file only . What i wanted to confirm is that it is safe and will not cause any complications ?
And same can be done on file "mod_gearman_neb.log" ?

Thanks in advance.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Safe to clear mod_gearman logs

Post by npolovenko »

@dkumar, Sorry, yes it's safe to remove both log files. If these logs grow in size fast consider decreasing the debuging level in worker.conf and module.conf configs.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dkumar
Posts: 8
Joined: Mon Oct 29, 2018 4:54 am

Re: Safe to clear mod_gearman logs

Post by dkumar »

Thanks. You can close this case.
Locked