[Freeswitch-dev] [POST-1.0.2][RFC][V2 PATCH 0/2] Fine-grained logging: per-session logging

Stefan Knoblich stkn at freeswitch.org
Wed Dec 24 17:07:41 PST 2008


Not a big deal to add that, just requires some sort of global uuid log
flag to be able to enable/disable it.

Merry Christmas btw.  :)


Michael Collins wrote:
> Hmm... this is one of those wishlist kinda things. If you know any C
> programming you could always add a little patch and have
> switch_log_printf() print an optional uuid if available. :)
> -MC
>
> On Tue, Dec 23, 2008 at 10:51 PM, Jason Garland
> <jgarland at jasongarland.com <mailto:jgarland at jasongarland.com>> wrote:
>
>     I think it would be useful to have log messages with the uuid
>     prepended on each message in a way that can be parsed with a log
>     viewer or syslogng.
>
>     This may only be useful for those of us that have more then 1
>     concurrent call on the box at a time. ;)
>
>     Sent from my iPhone
>
>     On Dec 19, 2008, at 2:11 PM, Stefan Knoblich <stkn at freeswitch.org
>     <mailto:stkn at freeswitch.org>>
>     wrote:
>
>     > Just  sending a message so Cherebrum can comment on this thread...
>     >
>     > Am Tuesday 16 December 2008 schrieb stkn at freeswitch.org
>     <mailto:stkn at freeswitch.org>:
>     >> Hi again,
>     >>
>     >> This is the reworked patch series to add per-session logging to the
>     >> FreeSWITCH core.
>     >>
>     >> Changes since V1:
>     >>
>     >>   - Reworked based on second proposed method and feedback by
>     Anthony
>     >>   - Most / all of mod_sofia has been converted to the new system
>     >>     (Needs a review, not sure if all of these changes are OK)
>     >>
>     >>
>     >> Both patches are compile tested (only).
>     >>
>     >>
>     >> Stefan
>     >>
>     >>
>     >> Stefan Knoblich (2):
>     >>  Session log level #1: core support
>     >>  Session log level #2: convert mod_sofia as an example
>     >>
>     >> src/include/private/switch_core_pvt.h            |    1 +
>     >> src/include/switch_core.h                        |   15 +++
>     >> src/include/switch_types.h                       |    5 +-
>     >> src/mod/applications/mod_commands/mod_commands.c |   37 ++++++
>     >> src/mod/applications/mod_dptools/mod_dptools.c   |   19 +++
>     >> src/mod/endpoints/mod_sofia/mod_sofia.c          |   74
>     ++++++------
>     >> src/mod/endpoints/mod_sofia/sofia.c              |   96 +++++++
>     >> +--------
>     >> src/mod/endpoints/mod_sofia/sofia_glue.c         |  132 ++++++++++
>     >> +-----------
>     >> src/switch_core_session.c                        |   15 +++
>     >> src/switch_log.c                                 |   24 ++++-
>     >> 10 files changed, 263 insertions(+), 155 deletions(-)
>     >>
>     >>
>     >> _______________________________________________
>     >> Freeswitch-dev mailing list
>     >> Freeswitch-dev at lists.freeswitch.org
>     <mailto:Freeswitch-dev at lists.freeswitch.org>
>     >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>     >> dev
>     >> http://www.freeswitch.org
>     >>
>     >
>     >
>     > --
>     > Stefan Knoblich
>     > Systemadministrator
>     >
>     > axsentis GmbH
>     > Eupener Strasse 74
>     > 50933 Köln
>     >
>     > Tel: 0180 - 506 705 521*
>     > Fax: 0180 - 506 705 529*
>     >
>     > E-Mail: s.knoblich at axsentis.de <mailto:s.knoblich at axsentis.de>
>     > Web: www.axsentis.de <http://www.axsentis.de>
>     >
>     > Eingetragen beim AG Köln: HR B 56238
>     > UST-ID: DE244977565
>     > Gesellschafter-Geschäftsführer:
>     > Yan Lecomte, Eduard Schlein, Apostolos Varsamis
>     >
>     > *14ct/min aus dem Festnetz der T-Com | dtms
>     >
>     > _______________________________________________
>     > Freeswitch-dev mailing list
>     > Freeswitch-dev at lists.freeswitch.org
>     <mailto:Freeswitch-dev at lists.freeswitch.org>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     >
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     > http://www.freeswitch.org
>
>     _______________________________________________
>     Freeswitch-dev mailing list
>     Freeswitch-dev at lists.freeswitch.org
>     <mailto:Freeswitch-dev at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     http://www.freeswitch.org
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>   




More information about the Freeswitch-dev mailing list