[rs-commit] r22 - in /mod_ca/trunk: ChangeLog mod_ca_crl.c mod_ca_disk.c mod_ca_engine.c mod_ca_ldap.c mod_ca_simple.c

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Mar 17 23:07:42 CET 2019


Author: minfrin at redwax.eu
Date: Sun Mar 17 23:07:41 2019
New Revision: 22

Log:
Wire through the module names in log messages.

Modified:
    mod_ca/trunk/ChangeLog
    mod_ca/trunk/mod_ca_crl.c
    mod_ca/trunk/mod_ca_disk.c
    mod_ca/trunk/mod_ca_engine.c
    mod_ca/trunk/mod_ca_ldap.c
    mod_ca/trunk/mod_ca_simple.c

Modified: mod_ca/trunk/ChangeLog
==============================================================================
--- mod_ca/trunk/ChangeLog	(original)
+++ mod_ca/trunk/ChangeLog	Sun Mar 17 23:07:41 2019
@@ -1,5 +1,7 @@
 
 Changes with v0.2.0
+
+ *) Wire through the module names in log messages. [Graham Leggett]
 
  *) Honour CFLAGS during build. [Graham Leggett]
 

Modified: mod_ca/trunk/mod_ca_crl.c
==============================================================================
--- mod_ca/trunk/mod_ca_crl.c	(original)
+++ mod_ca/trunk/mod_ca_crl.c	Sun Mar 17 23:07:41 2019
@@ -89,10 +89,12 @@
 
     if (len > 0) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, status, r, "%s (%s)", message, err);
+                APLOG_MARK, APLOG_ERR, status, r, "mod_ca_crl: "
+                "%s (%s)", message, err);
     }
     else {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "%s", message);
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "mod_ca_crl: "
+            "%s", message);
     }
 
     BIO_free(mem);

Modified: mod_ca/trunk/mod_ca_disk.c
==============================================================================
--- mod_ca/trunk/mod_ca_disk.c	(original)
+++ mod_ca/trunk/mod_ca_disk.c	Sun Mar 17 23:07:41 2019
@@ -168,10 +168,12 @@
 
     if (len > 0) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, status, r, "%s (%s)", message, err);
+                APLOG_MARK, APLOG_ERR, status, r, "mod_ca_disk: "
+                "%s (%s)", message, err);
     }
     else {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "%s", message);
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "mod_ca_disk: "
+            "%s", message);
     }
 
     BIO_free(mem);

Modified: mod_ca/trunk/mod_ca_engine.c
==============================================================================
--- mod_ca/trunk/mod_ca_engine.c	(original)
+++ mod_ca/trunk/mod_ca_engine.c	Sun Mar 17 23:07:41 2019
@@ -138,10 +138,12 @@
 
     if (len > 0) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, status, r, "%s (%s)", message, err);
+                APLOG_MARK, APLOG_ERR, status, r, "mod_ca_engine: "
+                "%s (%s)", message, err);
     }
     else {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "%s", message);
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "mod_ca_engine: "
+            "%s", message);
     }
 
     BIO_free(mem);

Modified: mod_ca/trunk/mod_ca_ldap.c
==============================================================================
--- mod_ca/trunk/mod_ca_ldap.c	(original)
+++ mod_ca/trunk/mod_ca_ldap.c	Sun Mar 17 23:07:41 2019
@@ -141,10 +141,12 @@
 
     if (len > 0) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, status, r, "%s (%s)", message, err);
+                APLOG_MARK, APLOG_ERR, status, r, "mod_ca_ldap: "
+                "%s (%s)", message, err);
     }
     else {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "%s", message);
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "mod_ca_ldap: "
+             "%s", message);
     }
 
     BIO_free(mem);

Modified: mod_ca/trunk/mod_ca_simple.c
==============================================================================
--- mod_ca/trunk/mod_ca_simple.c	(original)
+++ mod_ca/trunk/mod_ca_simple.c	Sun Mar 17 23:07:41 2019
@@ -124,10 +124,12 @@
 
     if (len > 0) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, status, r, "%s (%s)", message, err);
+                APLOG_MARK, APLOG_ERR, status, r, "mod_ca_simple: "
+                "%s (%s)", message, err);
     }
     else {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "%s", message);
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "mod_ca_simple: "
+            "%s", message);
     }
 
     BIO_free(mem);



More information about the rs-commit mailing list