]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add log tags.
authorGraham Leggett <minfrin@apache.org>
Thu, 24 Jun 2021 14:17:02 +0000 (14:17 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 24 Jun 2021 14:17:02 +0000 (14:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891023 13f79535-47bb-0310-9956-ffa450edef68

docs/log-message-tags/next-number
modules/aaa/mod_authn_dbm.c
modules/aaa/mod_authz_dbm.c
modules/cache/mod_cache_socache.c
modules/cache/mod_socache_dbm.c
modules/dav/fs/dbm.c
modules/dav/lock/locks.c
modules/mappers/mod_rewrite.c
modules/proxy/mod_proxy_express.c

index 182bc7c939844f293edecb52b19a1c10ec62bcda..4c314813df1a86047bca56891f25418f2bab26ad 100644 (file)
@@ -1 +1 @@
-10275
+10290
index a612f371a0eafa5c3edc24b73861addf64b14627..e4f965ab8ffb4a26117f406500662f741481bd42 100644 (file)
@@ -92,7 +92,7 @@ static apr_status_t fetch_dbm_value(request_rec *r, const char *dbmtype,
     rv = apr_dbm_get_driver(&driver, dbmtype, &err, r->pool);
 
     if (rv != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO()
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10284)
                 "could not load '%s' dbm library: %s",
                      err->reason, err->msg);
         return rv;
@@ -106,7 +106,7 @@ static apr_status_t fetch_dbm_value(request_rec *r, const char *dbmtype,
 #endif
 
     if (rv != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO()
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10285)
                       "could not open dbm (type %s) file: %s",
                       dbmtype, dbmfile);
         return rv;
index 90d35b07f1a23a1eb70d54967ce1956f74f53ce6..f11de6897e612834ec9ef9d1ce5e620fe10885e9 100644 (file)
@@ -113,7 +113,7 @@ static apr_status_t get_dbm_grp(request_rec *r, char *key1, char *key2,
     retval = apr_dbm_get_driver(&driver, dbtype, &err, r->pool);
 
     if (retval != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, retval, r, APLOGNO()
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, retval, r, APLOGNO(10286)
                 "could not load '%s' dbm library: %s",
                      err->reason, err->msg);
         return retval;
index f369004a417c4df3ccbac60d62bf11f9bc2b32c5..5f9e1d6c66181459c5a6172633979aa6b3a642ed 100644 (file)
 #include "apr_file_io.h"
 #include "apr_strings.h"
 #include "apr_buckets.h"
+
+#include "apr_version.h"
+#if !APR_VERSION_AT_LEAST(2,0,0)
+#include "apu_version.h"
+#endif
+
 #include "httpd.h"
 #include "http_config.h"
 #include "http_log.h"
index 88453ae09b40f14d49c9c20fd9e1d2665b4fe177..a81b6c67596976b58a8aefe59ddbd81de08cdda3 100644 (file)
@@ -149,7 +149,7 @@ static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx,
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10277)
                 "Cannot load socache DBM library '%s': %s",
                      err->reason, err->msg);
         return rv;
@@ -256,7 +256,7 @@ static apr_status_t socache_dbm_store(ap_socache_instance_t *ctx,
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10278)
                 "Cannot load socache DBM library '%s' (store): %s",
                      err->reason, err->msg);
         free(dbmval.dptr);
@@ -333,7 +333,7 @@ static apr_status_t socache_dbm_retrieve(ap_socache_instance_t *ctx, server_rec
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10279)
                 "Cannot load socache DBM library '%s' (fetch): %s",
                      err->reason, err->msg);
         return rc;
@@ -411,7 +411,7 @@ static apr_status_t socache_dbm_remove(ap_socache_instance_t *ctx,
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10280)
                 "Cannot load socache DBM library '%s' (delete): %s",
                      err->reason, err->msg);
         return rv;
@@ -474,7 +474,7 @@ static void socache_dbm_expire(ap_socache_instance_t *ctx, server_rec *s)
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10281)
                 "Cannot load socache DBM library '%s' (expire): %s",
                      err->reason, err->msg);
         return rv;
@@ -605,7 +605,7 @@ static void socache_dbm_status(ap_socache_instance_t *ctx, request_rec *r,
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO()
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10282)
                 "Cannot load socache DBM library '%s' (status retrieval): %s",
                      err->reason, err->msg);
         return;
@@ -682,7 +682,7 @@ static apr_status_t socache_dbm_iterate(ap_socache_instance_t *ctx,
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, NULL, &err,
             ctx->pool) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10283)
                 "Cannot load socache DBM library '%s' (iterating): %s",
                      err->reason, err->msg);
         return rv;
index d37fcd38b65fd8429273a6ab4eb8aab9cf0f4ea9..347d75d8c59661274faf314fdcf9990c3f14e430 100644 (file)
@@ -143,7 +143,7 @@ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
 
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((status = apr_dbm_get_driver(&driver, NULL, &err, p)) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO(10289)
                      "mod_dav_fs: The DBM library '%s' could not be loaded: %s",
                              err->reason, err->msg);
         return dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, 1, status,
index 2202be7e60028b124e3d12f2942b1c6ce70efae6..e85e288b3267a3aeb1f65e35b04e1e61b2ef5333 100644 (file)
@@ -332,7 +332,7 @@ static dav_error * dav_generic_really_open_lockdb(dav_lockdb *lockdb)
     status = apr_dbm_get_driver(&driver, NULL, &er, lockdb->info->pool);
 
     if (status) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO(10288)
                      "mod_dav_lock: The DBM library '%s' could not be loaded: %s",
                              er->reason, er->msg);
         return dav_new_error(lockdb->info->pool, HTTP_INTERNAL_SERVER_ERROR, 1,
index b2225d1b5bd60c2ebed4f2ecd71d378646f69074..06d8a154370bbf81a0013150572849479e440b9a 100644 (file)
@@ -1399,7 +1399,7 @@ static char *lookup_map_dbmfile(request_rec *r, const char *file,
 #if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
     if ((rv = apr_dbm_get_driver(&driver, dbmtype, &err,
             r->pool)) != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO()
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10287)
                 "mod_rewrite: can't load DBM library '%s': %s",
                      err->reason, err->msg);
         return NULL;
index 3f1d5ad2efdd4bc3ce4244994bcc9c3bb4d87bb3..5d458c4a1c4c2aa10a7a2236a5bc32bf7278b422 100644 (file)
@@ -146,7 +146,7 @@ static int xlate_name(request_rec *r)
     rv = apr_dbm_get_driver(&driver, sconf->dbmtype, &err, r->pool);
     if (rv != APR_SUCCESS) {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
-                     APLOGNO() "The dbm library '%s' could not be loaded: %s (%s: %d)",
+                     APLOGNO(10275) "The dbm library '%s' could not be loaded: %s (%s: %d)",
                      sconf->dbmtype, err->msg, err->reason, err->rc);
         return DECLINED;
     }
@@ -155,7 +155,7 @@ static int xlate_name(request_rec *r)
                          APR_OS_DEFAULT, r->pool);
     if (rv != APR_SUCCESS) {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
-                     APLOGNO() "The '%s' file '%s' could not be loaded",
+                     APLOGNO(10276) "The '%s' file '%s' could not be loaded",
                      sconf->dbmtype, sconf->dbmfile);
         return DECLINED;
     }