[OpenSER-Devel] SF.net SVN: openser: [3415] trunk

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Dec 17 17:55:50 UTC 2007


Hi Henning,

I think this needs a bit of a re-work as what it supposed to be in 
modules ended up in core. The solution is to have a generic LM_ function 
where you can pass facility as argument. So, the ACC facility will be a 
module parameter for acc module - the same as the "log_level". See:
    http://www.openser.org/docs/modules/1.3.x/acc.html#AEN268

So, my suggestion is to revert this commit and let me add this generic 
logging function (which anyhow is needed by other modules, like xlog) 
and to add the configurable facility as acc module param.

Regards,
Bogdan


Henning Westerholt wrote:
> Revision: 3415
>           http://openser.svn.sourceforge.net/openser/?rev=3415&view=rev
> Author:   henningw
> Date:     2007-12-17 06:26:52 -0800 (Mon, 17 Dec 2007)
>
> Log Message:
> -----------
> - new feature for accounting to syslog
> - its now possible to log the accouting related logging to a different
>   target as the other OpenSER output
> - introduces a new core parameter log_facility_acc to set the acc log target
> - adds some documentation about this function
> - per default the standard syslog target is used
>
> Modified Paths:
> --------------
>     trunk/cfg.lex
>     trunk/cfg.y
>     trunk/dprint.h
>     trunk/main.c
>     trunk/modules/acc/README
>     trunk/modules/acc/acc.c
>     trunk/modules/acc/doc/acc_user.sgml
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list