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.
Safe to clear mod_gearman logs
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Safe to clear mod_gearman logs
@dkumar, You can run the following command:
This will delete all contents but leave the log file itself.> mod_gearman_worker.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Safe to clear mod_gearman logs
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.
And same can be done on file "mod_gearman_neb.log" ?
Thanks in advance.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Safe to clear mod_gearman logs
@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.
Re: Safe to clear mod_gearman logs
Thanks. You can close this case.