http://wiki.freeswitch.org/wiki/Packet_Capture
William King
Senior Engineer
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main:   (877) 211-9337
Office: (206) 388-4772
Cell:   (253) 686-5518
william.king@quentustech.com

On 04/18/2012 11:21 PM, huseyin kalyoncu wrote:
hello,

is there any way to write siptrace output to different log file than default log file freeswitch.log?
or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.

i tried to write only siptrace to default log file. but when i change the switch log level 
from debug to any other level, it also disables siptrace output automatically. 

following config files have log level definitions:

console.conf.xml

    <map name="all" value="warning,err,crit,alert"/>
    <map name="switch_loadable_module_process" value="all"/>
    <map name="switch_core_state_machine.c" value="all"/>
    <map name="sofia.c"                     value="info,notice"/>

    <param name="loglevel" value="notice"/>

switch.conf.xml

    <param name="loglevel" value="debug"/>  ==> when i change this, no siptrace output

logfile.conf.xml

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

sofia.conf.xml

 <param name="log-level" value="0"/>
.<param name="tracelevel" value="DEBUG"/>

how should i modify these parameters to accomplish what i need?

regards,
huseyin


_________________________________________________________________________
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