There was a time that reload mod_xxx did not call switch_xml_reload but we realized that in almost every case of reloading a module it was preceded by a reloadxml command so it seemed logical to roll in the reloadxml for the sake of convenience.<br>
-MC<br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 7:37 AM, Beeton, Carolyn (Carolyn) <span dir="ltr"><<a href="mailto:cbeeton@avaya.com" target="_blank">cbeeton@avaya.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks - that's what I was looking for. I was a bit surprised to find that 'reload mod_logfile' calls switch_xml_reload itself, so there is no need to call reloadxml explicitly.<br>
<br>
Carolyn<br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-">freeswitch-</a><br>
> <a href="mailto:dev-bounces@lists.freeswitch.org">dev-bounces@lists.freeswitch.org</a>] On Behalf Of Steven Ayre<br>
> Sent: Wednesday, February 20, 2013 10:19 AM<br>
> To: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-dev] reload logfile.conf on reloadxml or<br>
> sighup?<br>
><br>
> 'reloadxml' then 'reload mod_logfile'<br>
><br>
> -Steve<br>
><br>
><br>
><br>
> On 20 February 2013 15:10, Beeton, Carolyn (Carolyn)<br>
> <<a href="mailto:cbeeton@avaya.com">cbeeton@avaya.com</a>> wrote:<br>
> > I would like to be able to trigger Freeswitch to reload the<br>
> logfile.conf<br>
> > file (to pick up changes in log level on the fly). I know this can<br>
> be done<br>
> > by changing levels on the console, but since my application uses<br>
> > configuration files to persist the changes, I would prefer to keep<br>
> all<br>
> > configuration data in the files.<br>
> ><br>
> ><br>
> ><br>
> > The "reloadxml" command triggers FS to reload some but not all of<br>
> the<br>
> > config files. Could it be enhanced to reload logfile.conf? Or would<br>
> it<br>
> > make sense to reload the logfile.conf file on receipt of sig_hup? Or<br>
> have I<br>
> > missed another way to accomplish this? If there's any interest, I<br>
> will<br>
> > create a jira and offer a patch.<br>
> ><br>
> ><br>
> ><br>
> > Thanks,<br>
> ><br>
> > Carolyn<br>
> ><br>
> ><br>
> ><br>
> _______________________________________________________________________<br>
> __<br>
> > Professional FreeSWITCH Consulting Services:<br>
> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
> ><br>
> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> > <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
> ><br>
> > Official FreeSWITCH Sites<br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> > <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
> ><br>
> > FreeSWITCH-dev mailing list<br>
> > <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
> dev<br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> ><br>
><br>
> _______________________________________________________________________<br>
> __<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-dev mailing list<br>
> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>