[Freeswitch-users] loglevel per caller_id

Sergey Safarov s.safarov at gmail.com
Tue Apr 21 13:38:09 MSD 2015


Hi Michael
<param name="uuid" value="true" /> default is enabled in FS. And log file
for most channel info contain uuid info, but not for translate application.
I am thinking patch for translate module is required.

On Mon, Apr 20, 2015 at 11:48 PM, Michael Collins <msc at freeswitch.org>
wrote:

> Hi Sergey,
>
> In case you didn't already get this working, I think Brian was suggesting
> that you edit autoload_configs/logfile.conf.xml and enable this line:
> <param name="uuid" value="true" />
>
> Once you do that then the uuid for each call's log line will be the first
> thing printed on the line. Makes it much easier to pull out just the log
> lines associated with a specific call leg.
>
> -MC
>
>
>
> On Fri, Apr 17, 2015 at 12:48 PM, Sergey Safarov <s.safarov at gmail.com>
> wrote:
>
>> Than you Brian West for respond
>> Currently I use this solution, but allow get partial log. I use:
>> 1) grep log to locate UUID like "grep -P "Processing.*<domainname>"
>> freeswitch.log| more"
>> 2) grep for partial log of required call UIID like "grep <UUID>
>> freeswitch.log | more"
>>
>> But filtered by UUD log is not containing strings like
>> 2015-04-17 18:30:40.086343 [INFO] mod_translate.c:343 +74991325866
>> tel2accountcode
>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:128 translating
>> [+74991325866] against [tel2accountcode] profile
>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\
>> +74952312534/
>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~ /\
>> +74952312535/
>> 2015-04-17 18:30:40.086343 [DEBUG] mod_translate.c:137 +74991325866 =~
>> /^.*$/
>> 2015-04-17 18:30:40.086343 [NOTICE] mod_translate.c:362 Translated:
>> _undef_
>>
>> May be update mod_translate?
>>
>>
>>
>>
>> On Fri, Apr 17, 2015 at 7:42 PM, Brian West <brian at freeswitch.org> wrote:
>>
>>> use UUID as call-id, log uuid, grep out logs for calls.
>>>
>>>
>>> On Fri, Apr 17, 2015 at 11:20 AM, Sergey Safarov <s.safarov at gmail.com>
>>> wrote:
>>>
>>>> Whether there is a possibility of default logging level to expose
>>>> NOTICE, and definitely calls from one caller_id set to debug?
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Brian West*
>>> brian at freeswitch.org
>>>
>>>
>>> *Twitter: @FreeSWITCH , @briankwest*
>>> http://www.freeswitchbook.com
>>> http://www.freeswitchcookbook.com
>>>
>>> ClueCon 2015 Call for Speakers
>>> <https://www.cluecon.com/call-for-speakers/> | Register
>>> <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
>>> <https://www.reddit.com/r/freeswitch>
>>>
>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150421/95f78f40/attachment.html 


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