adjusted some loglevels
authorvenaas <venaas>
Wed, 30 Apr 2008 11:05:40 +0000 (11:05 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 30 Apr 2008 11:05:40 +0000 (11:05 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@248 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index 90260fd..49d643a 100644 (file)
@@ -719,7 +719,7 @@ int tlsverifycert(SSL *ssl, struct clsrvconf *conf) {
        if (r) {
            if (r < 0) {
                X509_free(cert);
-               debug(DBG_DBG, "tlsverifycert: No subjectaltname matching %s %s", type ? "address" : "host", conf->host);
+               debug(DBG_WARN, "tlsverifycert: No subjectaltname matching %s %s", type ? "address" : "host", conf->host);
                return 0;
            }
            debug(DBG_DBG, "tlsverifycert: Found subjectaltname matching %s %s", type ? "address" : "host", conf->host);
@@ -747,7 +747,7 @@ int tlsverifycert(SSL *ssl, struct clsrvconf *conf) {
            }
            if (!r) {
                X509_free(cert);
-               debug(DBG_ERR, "tlsverifycert: cn not matching host %s", conf->host);
+               debug(DBG_WARN, "tlsverifycert: cn not matching host %s", conf->host);
                return 0;
            }
        }
@@ -1978,7 +1978,7 @@ int replyh(struct server *server, unsigned char *buf) {
     /* once we set received = 1, rq may be reused */
     rq->received = 1;
 
-    debug(DBG_DBG, "replyh: passing reply to client %s", from->conf->name);
+    debug(DBG_INFO, "replyh: passing reply to client %s", from->conf->name);
     sendreply(from, buf, from->conf->type == 'U' ? &fromsa : NULL);
     pthread_mutex_unlock(&server->newrq_mutex);
     return 1;