Skip to content

Commit 49653cd

Browse files
committed
Revert part of r1928839 which stripped the APLOGNO() tags.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928861 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8d1c300 commit 49653cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/md/mod_md_drive.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,21 @@ static void process_drive_job(md_renew_ctx_t *dctx, md_job_t *job, apr_pool_t *p
121121
"certificate(s)", job->mdomain);
122122
}
123123
else if (!renew_at || renew_at <= now) {
124-
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO()
124+
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO(10512)
125125
"md(%s): need to renew now", job->mdomain);
126126
}
127127
else {
128128
apr_time_t ari_renew_at = 0;
129129
char ts[APR_RFC822_DATE_LEN];
130130

131-
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO()
131+
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO(10513)
132132
"md(%s): ARI is %senabled", job->mdomain,
133133
md->ari_renewals? "" : "not ");
134134
if (md->ari_renewals)
135135
ari_renew_at = md_reg_ari_renew_at(&ari_explain_url, dctx->mc->reg, md,
136136
dctx->mc->env, result, ptemp);
137137
if (!ari_renew_at || (ari_renew_at > renew_at)) {
138-
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO()
138+
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO(10514)
139139
"md(%s): %sup for configured renewal in %s",
140140
job->mdomain,
141141
(ari_renew_at || !md->ari_renewals) ? "" : "no ARI available, ",
@@ -146,13 +146,13 @@ static void process_drive_job(md_renew_ctx_t *dctx, md_job_t *job, apr_pool_t *p
146146
long secs = (long)apr_time_sec(ari_renew_at - now);
147147
apr_rfc822_date(ts, ari_renew_at);
148148
if (ari_explain_url) {
149-
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, dctx->s, APLOGNO()
149+
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, dctx->s, APLOGNO(10515)
150150
"md(%s): CA advises renew via ARI at %s"
151151
", for explanation see %s",
152152
job->mdomain, ts, ari_explain_url);
153153
}
154154
else
155-
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO()
155+
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO(10516)
156156
"md(%s): CA advises renew via ARI at %s",
157157
job->mdomain, ts);
158158
if (secs < MD_SECS_PER_DAY) { /* earlier than regular run */
@@ -162,13 +162,13 @@ static void process_drive_job(md_renew_ctx_t *dctx, md_job_t *job, apr_pool_t *p
162162
}
163163
/* ARI says we should renew *now* */
164164
if (ari_explain_url) {
165-
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, dctx->s, APLOGNO()
165+
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, dctx->s, APLOGNO(10517)
166166
"md(%s): CA advises renew via ARI now"
167167
", for explanation see %s",
168168
job->mdomain, ari_explain_url);
169169
}
170170
else
171-
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO()
171+
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, dctx->s, APLOGNO(10518)
172172
"md(%s): CA advises renew via ARI now", job->mdomain);
173173
}
174174

0 commit comments

Comments
 (0)