I had to move the freeswitch.log file but it is no longer being created. What should I do to get it rebuilt without restarting the server?
When I do reload mod_logfile profile error appears
freeswitch@172f285.online.net> reload mod_logfile
+OK Reloading XML
+OK module unloaded
+OK module loaded
2021-06-08 10:07:16.872596 [CONSOLE] switch_loadable_module.c:2014 Stopping: mod_logfile
2021-06-08 10:07:16.872596 [NOTICE] switch_event.c:2140 Event Binding deleted for mod_logfile:TRAP
2021-06-08 10:07:16.872596 [CONSOLE] switch_loadable_module.c:2034 mod_logfile unloaded.
2021-06-08 10:07:16.872596 [INFO] switch_time.c:1423 Timezone reloaded 1750 definitions
2021-06-08 10:07:16.872596 [ERR] mod_logfile.c:460 error loading profile.
2021-06-08 10:07:16.872596 [CONSOLE] switch_loadable_module.c:1540 Successfully Loaded [mod_logfile]
Will you try safe but before that execute reload mod_sofia.
I notice that the freeswitch.log file had another owner and group.
I change it to freeswitch: daemon then apply reload mod_logfile and works
Good to hear that !!