On a normal product server using SA & MIMEDefang, I'm trying to modifying the 
logging on the load_with_dbi in Conf/SQL.pm.

I've tried changed the debug calls to reflect a new facility config-dbi
dbg("config-dbi: Conf::SQL: executing SQL: $sql");

And I've add the facility with a call  add_facilities('config-dbi'); prior to 
the dbg call.

Based on the docs on the function, I think this should be all I need but I 
don't have the write scope for add_facilities

I then switched the _dbg calls to just warns and that works but I'd like to 
know the "better" way to get quick and dirty debug messages enabled that I can 
see in /var/log/maillog.

Regards,
KAM

Reply via email to