Log_level with auxprop sql_engine

Alexey Melnikov alexey.melnikov at isode.com
Tue Apr 18 09:46:31 EDT 2006


Julian Pawlowski (lists) wrote:

>Hello,
>
>I use Cyrus SASL 2.1.21 with MySQL support and Postfix 2.3.
>I actually entered "log_level: 0" in smtpd.conf but I still get a mass
>of entries from cyrus SASL while a user is being authenticated:
>  
>
After looking at the code: the default logging callback implemented in 
libsasl supports log_level option.
However if the application (Postfix) is specifying own logging callback, 
it has to have the code like the following:

    sasl_server_conn_t *sconn;

    if (context) {
        if (((sasl_conn_t *)context)->type == SASL_CONN_SERVER) {
            sconn = (sasl_server_conn_t *)context;
            if (sconn->sparams->log_level < priority)
                return SASL_OK;
        }
    }

>[...]
>
>Why does the log_level entry not work here? We'll I guess log_level is
>not consequently implemented, is it?
>Is there any solution to get off these debug messages?
>  
>
You can reconfigure syslog to suppress DEBUG level messages?



More information about the Cyrus-sasl mailing list