Log-auth-failures question
Hi, list! In sip-profiles: "log-auth-failures" - write log entries ( Warning ) on authentication failures ( Registration & Invite ) in /usr/local/freeswitch/log/freeswitch.log files. Is it possible to write these entries in other file of in other directory? Thanks in advance. -- Best regards, Vitaly.
Hi Vitaly, You can configure the logfile path in the config file (logfile.conf): <!-- File to log to --> <!--<param name="logfile" value="/var/log/freeswitch.log"/>--> But it will change the path of the file for all the logs, not only auth failures! Florent 2014-12-08 15:20 GMT+01:00 Vitaly <vitaliy.davudov@vts24.ru>:
Hi, list!
In sip-profiles: "log-auth-failures" - write log entries ( Warning ) on authentication failures ( Registration & Invite ) in /usr/local/freeswitch/log/freeswitch.log files. Is it possible to write these entries in other file of in other directory?
Thanks in advance.
-- Best regards, Vitaly.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If you're wanting to do to implement fail2ban and don't want large log files you can also look at https://wiki.freeswitch.org/wiki/Mod_fail2ban On 8 December 2014 at 14:31, Florent Krieg <flokrrr@gmail.com> wrote:
Hi Vitaly,
You can configure the logfile path in the config file (logfile.conf): <!-- File to log to --> <!--<param name="logfile" value="/var/log/freeswitch.log"/>--> But it will change the path of the file for all the logs, not only auth failures!
Florent
2014-12-08 15:20 GMT+01:00 Vitaly <vitaliy.davudov@vts24.ru>:
Hi, list!
In sip-profiles: "log-auth-failures" - write log entries ( Warning ) on authentication failures ( Registration & Invite ) in /usr/local/freeswitch/log/freeswitch.log files. Is it possible to write these entries in other file of in other directory?
Thanks in advance.
-- Best regards, Vitaly.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Florent Krieg
-
Steven Ayre
-
Vitaly