mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Remove unnecessary APLOGNO() use in TRACE-level logging.
Submitted by: Jackie Chang <jackie.qq.chang gmail.com> PR: 55627 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -452,7 +452,7 @@ static int uldap_connection_init(request_rec *r,
|
|||||||
|
|
||||||
if (ldc->ChaseReferrals != AP_LDAP_CHASEREFERRALS_SDKDEFAULT) {
|
if (ldc->ChaseReferrals != AP_LDAP_CHASEREFERRALS_SDKDEFAULT) {
|
||||||
/* Set options for rebind and referrals. */
|
/* Set options for rebind and referrals. */
|
||||||
ap_log_error(APLOG_MARK, APLOG_TRACE4, 0, r->server, APLOGNO(01278)
|
ap_log_error(APLOG_MARK, APLOG_TRACE4, 0, r->server,
|
||||||
"LDAP: Setting referrals to %s.",
|
"LDAP: Setting referrals to %s.",
|
||||||
((ldc->ChaseReferrals == AP_LDAP_CHASEREFERRALS_ON) ? "On" : "Off"));
|
((ldc->ChaseReferrals == AP_LDAP_CHASEREFERRALS_ON) ? "On" : "Off"));
|
||||||
apr_ldap_set_option(r->pool, ldc->ldap,
|
apr_ldap_set_option(r->pool, ldc->ldap,
|
||||||
|
@@ -203,7 +203,7 @@ static ap_lua_vm_spec *create_vm_spec(apr_pool_t **lifecycle_pool,
|
|||||||
else {
|
else {
|
||||||
spec->file = r->filename;
|
spec->file = r->filename;
|
||||||
}
|
}
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r, APLOGNO(02313)
|
ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r,
|
||||||
"%s details: scope: %s, file: %s, func: %s",
|
"%s details: scope: %s, file: %s, func: %s",
|
||||||
what, scope_to_string(spec->scope), spec->file,
|
what, scope_to_string(spec->scope), spec->file,
|
||||||
function ? function : "-");
|
function ? function : "-");
|
||||||
@@ -288,7 +288,7 @@ static int lua_handler(request_rec *r)
|
|||||||
) {
|
) {
|
||||||
return DECLINED;
|
return DECLINED;
|
||||||
}
|
}
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r, APLOGNO(01472)
|
ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
|
||||||
"handling [%s] in mod_lua", r->filename);
|
"handling [%s] in mod_lua", r->filename);
|
||||||
|
|
||||||
/* XXX: This seems wrong because it may generate wrong headers for HEAD requests */
|
/* XXX: This seems wrong because it may generate wrong headers for HEAD requests */
|
||||||
@@ -308,7 +308,7 @@ static int lua_handler(request_rec *r)
|
|||||||
ap_lua_release_state(L, spec, r);
|
ap_lua_release_state(L, spec, r);
|
||||||
return HTTP_INTERNAL_SERVER_ERROR;
|
return HTTP_INTERNAL_SERVER_ERROR;
|
||||||
}
|
}
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE3, 0, r, APLOGNO(01474) "got a vm!");
|
ap_log_rerror(APLOG_MARK, APLOG_TRACE3, 0, r, "got a vm!");
|
||||||
lua_getglobal(L, "handle");
|
lua_getglobal(L, "handle");
|
||||||
if (!lua_isfunction(L, -1)) {
|
if (!lua_isfunction(L, -1)) {
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_CRIT, 0, r, APLOGNO(01475)
|
ap_log_rerror(APLOG_MARK, APLOG_CRIT, 0, r, APLOGNO(01475)
|
||||||
|
@@ -228,7 +228,7 @@ static apr_status_t ajp_marshal_into_msgb(ajp_msg_t *msg,
|
|||||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE8, 0, r, "Into ajp_marshal_into_msgb");
|
ap_log_rerror(APLOG_MARK, APLOG_TRACE8, 0, r, "Into ajp_marshal_into_msgb");
|
||||||
|
|
||||||
if ((method = sc_for_req_method_by_id(r)) == UNKNOWN_METHOD) {
|
if ((method = sc_for_req_method_by_id(r)) == UNKNOWN_METHOD) {
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE8, 0, r, APLOGNO(02437)
|
ap_log_rerror(APLOG_MARK, APLOG_TRACE8, 0, r,
|
||||||
"ajp_marshal_into_msgb - Sending unknown method %s as request attribute",
|
"ajp_marshal_into_msgb - Sending unknown method %s as request attribute",
|
||||||
r->method);
|
r->method);
|
||||||
method = SC_M_JK_STORED;
|
method = SC_M_JK_STORED;
|
||||||
|
Reference in New Issue
Block a user