Commit fda0d1ce authored by Stefan Eissing's avatar Stefan Eissing
Browse files

updated mod_md log tags

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808243 13f79535-47bb-0310-9956-ffa450edef68
parent 3a37c7cc
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ static apr_status_t assign_to_servers(md_t *md, server_rec *base_server,
                /* We require https for this MD, but do we have port 443 (or a mapped one)
                 * available? */
                if (mc->local_443 <= 0) {
                    ap_log_error(APLOG_MARK, APLOG_ERR, 0, base_server, APLOGNO()
                    ap_log_error(APLOG_MARK, APLOG_ERR, 0, base_server, APLOGNO(10089)
                                 "MDPortMap says there is no port for https (443), "
                                 "but MD %s is configured to require https. This "
                                 "only works when a 443 port is available.", md->name);
@@ -275,7 +275,7 @@ static apr_status_t assign_to_servers(md_t *md, server_rec *base_server,
                if (!s_https) {
                    /* Did not find any server_rec that matches this MD *and* has an
                     * s->addrs match for the https port. Suspicious. */
                    ap_log_error(APLOG_MARK, APLOG_WARNING, 0, base_server, APLOGNO()
                    ap_log_error(APLOG_MARK, APLOG_WARNING, 0, base_server, APLOGNO(10090)
                                 "MD %s is configured to require https, but there seems to be "
                                 "no VirtualHost for it that has port %d in its address list. "
                                 "This looks as if it will not work.", 
@@ -697,7 +697,7 @@ static apr_status_t run_watchdog(int state, void *baton, apr_pool_t *ptemp)

            now = apr_time_now();
            if (APLOGdebug(wd->s)) {
                ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd->s, APLOGNO()
                ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd->s, APLOGNO(10091)
                             "next run in %s", md_print_duration(ptemp, next_run - now));
            }
            wd_set_interval(wd->watchdog, next_run - now, wd, run_watchdog);
@@ -1005,14 +1005,14 @@ static apr_status_t md_get_certificate(server_rec *s, apr_pool_t *p,
        assert(sc->mc);
        assert(sc->mc->store);
        if (APR_SUCCESS != (rv = md_reg_init(&reg, p, sc->mc->store, sc->mc->proxy_url))) {
            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO() "init registry");
            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10092) "init registry");
            return rv;
        }

        md = md_reg_get(reg, sc->assigned->name, p);
            
        if (APR_SUCCESS != (rv = md_reg_get_cred_files(reg, md, p, pkeyfile, pcertfile))) {
            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO() 
            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10093) 
                         "retrieving credentials for MD %s", md->name);
            return rv;
        }