Changeset 672 for trunk/c2s/c2s.c

Show
Ignore:
Timestamp:
15/08/08 19:50:22 (5 months ago)
Author:
smoku
Message:

Implemented logging of compressed conection established. Closes #243

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/c2s/c2s.c

    r662 r672  
    473473            /* they sasl auth'd, so we only want the new-style session start */ 
    474474            else { 
    475                 log_write(sess->c2s->log, LOG_NOTICE, "[%d] SASL authentication succeeded: mechanism=%s; authzid=%s%s", sess->s->tag, &sess->s->auth_method[5], sess->s->auth_id, sess->s->ssf ? ", TLS negotiated" : ""); 
     475                log_write(sess->c2s->log, LOG_NOTICE, "[%d] SASL authentication succeeded: mechanism=%s; authzid=%s%s%s", sess->s->tag, &sess->s->auth_method[5], sess->s->auth_id, sess->s->ssf ? ", TLS negotiated" : "", sess->s->compressed ? ", ZLIB compression enabled" : ""); 
    476476                sess->sasl_authd = 1; 
    477477            }