[Freeswitch-users] log file not being populated

Vallimamod Abdullah vma at vallimamod.org
Fri Apr 7 14:11:05 MSD 2017


Hi,

Your conf looks incomplete, the mappings are missing. Add the following after </settings>:

<mappings>
  <map name="all" value="console,debug,info,notice,warning,err,crit,alert"/>
</mappings>

Then do "reload mod_logfile" in fs_cli.

Hope this helps.

Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma at sipsolutions.fr
.

> On 7 Apr 2017, at 10:54, David Villasmil <david.villasmil.work at gmail.com> wrote:
> 
> hello guys,
> 
> my logfile.conf.xml is as follows:
> 
> <configuration name="logfile.conf" description="File Logging">
>         <settings>
>                 <!-- true to auto rotate on HUP, false to open/close -->
>                 <param name="rotate-on-hup" value="true"/>
>         </settings>
>         <profiles>
>                 <profile name="default">
>                         <settings>
>                                 <!-- File to log to -->
>                                 <param name="logfile" value="/usr/local/freeswitch/log/freeswitch.log"/>
>                                 <!-- At this length in bytes rotate the log file (0 for never) -->
>                                 <param name="rollover" value="10485760"/>
>                                 <!-- Maximum number of log files to keep before wrapping -->
>                                 <!-- If this parameter is enabled, the log filenames will not include a date stamp -->
>                                 <!-- <param name="maximum-rotate" value="32"/> -->
>                                 <!-- Uncomment to prefix all log lines by the session's uuid  -->
>                                 <param name="uuid" value="true" />
>                         </settings>
>                 </profile>
>         </profiles>
> </configuration>
> 
> the logfile _is_ being created but nothing is added to it... i wonder if this ever happened to anyone...
> 
> 
> 
> Regards,
> 
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list