how to put all log that show up in fs_cli to file freeswitch.log
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.
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
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@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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 (2)
-
dwi yulianto
-
Steven Ayre