<div dir="ltr">If you&#39;re wanting to do to implement fail2ban and don&#39;t want large log files you can also look at <a href="https://wiki.freeswitch.org/wiki/Mod_fail2ban">https://wiki.freeswitch.org/wiki/Mod_fail2ban</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 December 2014 at 14:31, Florent Krieg <span dir="ltr">&lt;<a href="mailto:flokrrr@gmail.com" target="_blank">flokrrr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Vitaly,<br><br></div>You can configure the logfile path in the config file (logfile.conf):<br>&lt;!-- File to log to --&gt;<br>&lt;!--&lt;param name=&quot;logfile&quot; value=&quot;/var/log/freeswitch.log&quot;/&gt;--&gt;<br></div>But it will change the path of the file for all the logs, not only auth failures!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Florent<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-12-08 15:20 GMT+01:00 Vitaly <span dir="ltr">&lt;<a href="mailto:vitaliy.davudov@vts24.ru" target="_blank">vitaliy.davudov@vts24.ru</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, list!<br>
<br>
In sip-profiles: &quot;log-auth-failures&quot; - write log entries ( Warning ) on<br>
authentication failures ( Registration &amp; Invite ) in<br>
/usr/local/freeswitch/log/freeswitch.log files. Is it possible to write<br>
these entries in other file of in other directory?<br>
<br>
Thanks in advance.<br>
<br>
--<br>
Best regards,<br>
Vitaly.<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote></div><br></div>