httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1768225 - in /httpd/httpd/trunk: docs/log-message-tags/next-number modules/cache/mod_socache_redis.c
Date Sat, 05 Nov 2016 14:47:17 GMT
Author: jim
Date: Sat Nov  5 14:47:17 2016
New Revision: 1768225

URL: http://svn.apache.org/viewvc?rev=1768225&view=rev
Log:
Needs LOGNO #s

Modified:
    httpd/httpd/trunk/docs/log-message-tags/next-number
    httpd/httpd/trunk/modules/cache/mod_socache_redis.c

Modified: httpd/httpd/trunk/docs/log-message-tags/next-number
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/log-message-tags/next-number?rev=1768225&r1=1768224&r2=1768225&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/log-message-tags/next-number (original)
+++ httpd/httpd/trunk/docs/log-message-tags/next-number Sat Nov  5 14:47:17 2016
@@ -1 +1 @@
-3473
+3482

Modified: httpd/httpd/trunk/modules/cache/mod_socache_redis.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_redis.c?rev=1768225&r1=1768224&r2=1768225&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_redis.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_redis.c Sat Nov  5 14:47:17 2016
@@ -118,7 +118,7 @@ static apr_status_t socache_rd_init(ap_s
 
     rv = apr_redis_create(p, nservers, 0, &ctx->rc);
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(03473)
                      "Failed to create Redis Object of '%d' size.",
                      nservers);
         return rv;
@@ -135,13 +135,13 @@ static apr_status_t socache_rd_init(ap_s
 
         rv = apr_parse_addr_port(&host_str, &scope_id, &port, split, p);
         if (rv != APR_SUCCESS) {
-            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
+            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(03474)
                          "Failed to Parse redis Server: '%s'", split);
             return rv;
         }
 
         if (host_str == NULL) {
-            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
+            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(03475)
                          "Failed to Parse Server, "
                          "no hostname specified: '%s'", split);
             return APR_EINVAL;
@@ -160,7 +160,7 @@ static apr_status_t socache_rd_init(ap_s
                                      sconf->rwto,
                                      &st);
         if (rv != APR_SUCCESS) {
-            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
+            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(03476)
                          "Failed to Create redis Server: %s:%d",
                          host_str, port);
             return rv;
@@ -168,7 +168,7 @@ static apr_status_t socache_rd_init(ap_s
 
         rv = apr_redis_add_server(ctx->rc, st);
         if (rv != APR_SUCCESS) {
-            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
+            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(03477)
                          "Failed to Add redis Server: %s:%d",
                          host_str, port);
             return rv;
@@ -230,7 +230,7 @@ static apr_status_t socache_rd_store(ap_
     rv = apr_redis_setex(ctx->rc, buf, (char*)ucaData, nData, timeout, 0);
 
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(03478)
                      "scache_rd: error setting key '%s' "
                      "with %d bytes of data", buf, nData);
         return rv;
@@ -258,13 +258,13 @@ static apr_status_t socache_rd_retrieve(
     rv = apr_redis_getp(ctx->rc, p, buf, &data, &data_len, NULL);
     if (rv) {
         if (rv != APR_NOTFOUND) {
-            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+            ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(03479)
                          "scache_rd: 'retrieve' FAIL");
         }
         return rv;
     }
     else if (data_len > *destlen) {
-        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(03480)
                      "scache_rd: 'retrieve' OVERFLOW");
         return APR_ENOMEM;
     }
@@ -289,7 +289,7 @@ static apr_status_t socache_rd_remove(ap
     rv = apr_redis_delete(ctx->rc, buf, 0);
 
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO()
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO(03481)
                      "scache_rd: error deleting key '%s' ",
                      buf);
     }



Mime
View raw message