Is there a way to Reload NXlog Config using ?
Tags:
#1
Jwaldon-oti
Im looking for ways to reload nxlog config globally using the <schedule> option without having to restart the service or use the 'Update and Reload' button in nxlog manager.
Is there a certain paramerter that can be used in the conf file that will do this on a specific cadence?
#1
Jwaldon-oti
Im looking for ways to reload nxlog config globally using the <schedule> option without having to restart the service or use the 'Update and Reload' button in nxlog manager.
Is there a certain paramerter that can be used in the conf file that will do this on a specific cadence?
Hello Sir,
Yes you can use [module_restart](https://docs.nxlog.co/refman/v5.5/om/exec.html#config-restart) , so instead of restarting the agent service you can stop, start or restart the module itself.
#Schedule for starting the in module
When 30 * * * *
Exec in->module_restart();
Exec log_info("================ Module is active ================");
Hope it helps
Sincerely
Klevin