Hi

I've written a small patch to logger.c which enables * to log to syslog
ased on a setting in the logger.conf file.

However, Asterisk uses the same macros as sys/sylog does. Changing the
asterisk defines won't help since they also do the macro expansion to
filename & linenumber.
Not being an experienced C programmer what is the normal way to solve this?
Change all asterisk LOG_WARNING/NOTICE/ERROR to AST_LOG_WARNING? or
include a modified version of /sys/syslog? or just ignore the overwrites,
meaning logger.c can't itself call ast_log?

Michiel
-- 

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to