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