[Freeswitch-users] how to put all log that show up in fs_cli to file freeswitch.log
dwi yulianto
dwiyulianto.anto at gmail.com
Tue Apr 1 16:58:37 MSD 2014
thanks steven i can make all log in consolo into log file.
can i modify to make all log in console have date format?
bec fail2ban need valid date format for all log to work.
On Tue, Apr 1, 2014 at 6:20 AM, dwi yulianto <dwiyulianto.anto at gmail.com>wrote:
> actually i wanna added some regex in fail2ban configuration for that TLS
> error.
>
> is that right i need to add this in sofia.conf.xml
>
> <global_settings>
> ...
> <param name="tracelevel" value="DEBUG"/>
> ...
> </global_settings>
> <profiles>
> ...
> <profile name="...">
> ...
> <param name="sip-trace" value="yes"/>
> ...
> </profile>
> ...
> </profiles>
>
> thanks.
>
>
>
>
> On Tue, Apr 1, 2014 at 4:09 AM, Steven Ayre <steveayre at gmail.com> wrote:
>
>> If you mean the sofia stack tracing ("sofia loglevel $component $level")
>> then that by default logs as console level, you can adjust that with "sofia
>> tracelevel debug" and then it should go to the logfile.
>>
>> I'd advise against that though for anything other than debugging a
>> problem - it is extremely verbose. That means extremely large log files and
>> the amount of I/O may affect the performance of your system.
>>
>> FreeSWITCH's debug-level logging is separate and should be checked first
>> - the fs_cli for that is "/log debug"
>>
>> -Steve
>>
>>
>> On 31 March 2014 04:23, dwi yulianto <dwiyulianto.anto at gmail.com> wrote:
>>
>>> i try use TLS and to see any error when TLS working
>>>
>>> i've change loglevel in sofia.conf.xml to 9 like in tutorial from wiki
>>> about SIP_TLS
>>>
>>> i can see any log in fs_cli , but when i open log file in
>>> freeswitch.log i can't see all log that show up in fs_cli in freeswitch.log
>>> file.
>>>
>>> so, how i can put all log that show up in fs_cli to log file in
>>> freeswitch.log?
>>>
>>> thanks.
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.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
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140401/e472317c/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list