I need it for fail2ban
I user FreeSWITCH Version 1.10.6-release+git~20210325T131609Z~1ff9d0a60e~64bit
I have installed mod_logfile with the following configuration
I have set in my sip-profile
When i enter fs_cli then i see all the messages i need,
but they are not written to /var/log/freeswitch/freeswitch.log
I user FreeSWITCH Version 1.10.6-release+git~20210325T131609Z~1ff9d0a60e~64bit
I have installed mod_logfile with the following configuration
XML:
<configuration name="logfile.conf" description="File Logging">
<settings>
<param name="rotate-on-hup" value="true"/>
</settings>
<profiles>
<profile name="default">
<settings>
<param name="logfile" value="/var/log/freeswitch/freeswitch.log"/>
<param name="rollover" value="1048576000"/>
<param name="maximum-rotate" value="32"/>
<param name="uuid" value="true" />
</settings>
<mappings>
<map name="all" value="console,debug,info,notice,warning,err,crit,alert"/>
</mappings>
</profile>
</profiles>
</configuration>
I have set in my sip-profile
XML:
<param name="log-auth-failures" value="true"/>
When i enter fs_cli then i see all the messages i need,
but they are not written to /var/log/freeswitch/freeswitch.log