diff options
author | Stefan Fritsch <sf@apache.org> | 2011-12-04 23:09:24 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-12-04 23:09:24 +0100 |
commit | 26d5fb7164f612fed38a82939ad1a34249e61795 (patch) | |
tree | d14f0cbf145e0852fdfc3fa366c1aaa7163b2e56 /modules/ssl/ssl_engine_pphrase.c | |
parent | Add some mod_ssl macros that confuse coccinelle (diff) | |
download | apache2-26d5fb7164f612fed38a82939ad1a34249e61795.tar.xz apache2-26d5fb7164f612fed38a82939ad1a34249e61795.zip |
Add some more log message tags
Remove some log message tags from ap_log_* calls that log lots of
different error messages, in particular the config parsing errors.
Not sure how we should handle those.
ssl_util.c: Downgrade some dynamic locking messages from level DEBUG
to TRACE1-3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1210252 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_engine_pphrase.c')
-rw-r--r-- | modules/ssl/ssl_engine_pphrase.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/ssl/ssl_engine_pphrase.c b/modules/ssl/ssl_engine_pphrase.c index b71e686270..b9173fac69 100644 --- a/modules/ssl/ssl_engine_pphrase.c +++ b/modules/ssl/ssl_engine_pphrase.c @@ -176,13 +176,13 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p) sc = mySrvConfig(pServ); cpVHostID = ssl_util_vhostid(p, pServ); if (!sc->enabled) { - ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, pServ, + ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, pServ, APLOGNO(02199) "SSL not enabled on vhost %s, skipping SSL setup", cpVHostID); continue; } - ap_log_error(APLOG_MARK, APLOG_INFO, 0, pServ, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, pServ, APLOGNO(02200) "Loading certificate & private key of SSL-aware server '%s'", cpVHostID); @@ -222,7 +222,7 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p) sizeof(szPath)); if ((rv = exists_and_readable(szPath, p, NULL)) != APR_SUCCESS) { - ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, + ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, APLOGNO(02201) "Init: Can't open server certificate file %s", szPath); ssl_die(); @@ -234,7 +234,7 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p) ssl_log_ssl_error(SSLLOG_MARK, APLOG_EMERG, s); ssl_die(); } - ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, + ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02202) "Init: Read server certificate from '%s'", szPath); } @@ -445,7 +445,7 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p) } else { ap_log_error(APLOG_MARK, APLOG_ERR, 0, - pServ, "Init: Private key not found"); + pServ, APLOGNO(02203) "Init: Private key not found"); ssl_log_ssl_error(SSLLOG_MARK, APLOG_ERR, pServ); } if (writetty) { @@ -454,7 +454,7 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p) } } else { - ap_log_error(APLOG_MARK, APLOG_EMERG, 0, pServ, + ap_log_error(APLOG_MARK, APLOG_EMERG, 0, pServ, APLOGNO(02204) "Init: Pass phrase incorrect for key of %s", cpVHostID); ssl_log_ssl_error(SSLLOG_MARK, APLOG_EMERG, pServ); @@ -569,7 +569,7 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p) */ if (aPassPhrase->nelts) { pphrase_array_clear(aPassPhrase); - ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(02205) "Init: Wiped out the queried pass phrases from memory"); } |