< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] external logger


Seems likes a good idea; thanks for offering to contribute. 

Can you post your version of Log::initialize and your GenericLog implementation
(and whatever other changes you needed to make)? I would be happy to work with
you to incorporate logging generalization.

thanks,
david

Quoting Justin Matthews <justin.matthews@xxxxxxx>:

> Hello,
> 
> The application that I am working on that uses resip has its own logging
> functionality.  The logger in our app ("myapp") has some enhanced features
> similar to those found in log4j (logging configurable using a config file,
> different outputs including sockets, syslog, rolling file appenders...).
> What I would like is for myapp to be in total control of the logging.  I
> have modified resip by adding a new Log::initialize() function that takes a
> pointer to a function as the only argument and modified Logger.hxx to
> forward all log requests to this function if the external function pointer
> "type" logger is enabled.  Is this, or a similar solution, something that
> would be considered for addition into resip?  Does anyone have any other
> suggestions for adding this functionality?
> 
> Thanks,
> 
> Justin
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>