[Postfixbuch-users] log_level bei Cyrus SASL 2.1.21

Julian Pawlowski (lists) lists at jp-solution.net
Di Apr 18 19:53:58 CEST 2006


Patrick Ben Koetter schrieb:
> Allerdings [...] sind log_level nicht konsistent impementiert in Cyrus SASL.
> Frag am besten Mal auf der Cyrus SASL Mailingliste.

Das hab ich nun mal gemacht, hab gerde die Antwort erhalten:

Alexey Melnikov schrieb:
---------------------------------------
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;
        }
    }
--------------------------------------

Weiß jemand, ob Postfix dann vielleicht einen eigenen Loglevel festlegt?

Ich habe nun natürlich zwischenzeitlich syslog-ng umkonfiguriert, find ihn allerdings auch sehr unübersichtlich zu konfigurieren, so dass ich bisher lediglich alles vom typ auth in eine eigene datei schreiben lasse (immerhin ist der kram dann nicht mehr in /var/log/mail drin, obgleich natürlich auch andere auth-sachen dann nicht mehr nur in /var/log/messages sind).


Gruß
Julian



Mehr Informationen über die Mailingliste Postfixbuch-users