loglevel per caller_id
Whether there is a possibility of default logging level to expose NOTICE, and definitely calls from one caller_id set to debug?
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@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@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@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@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
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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@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@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@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@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
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@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@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@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@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@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@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@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@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Whether a log message is global or specific to a channel depends on the logging function used to log the message. There probably are several channel-related messages scattered throughout the code that log globally instead. File a Jira or Stash pull request. On 21 April 2015 at 10:38, Sergey Safarov <s.safarov@gmail.com> wrote:
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@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@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@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@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@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@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@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@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 (4)
-
Brian West
-
Michael Collins
-
Sergey Safarov
-
Steven Ayre