aligning log messages for nice look-and-feel
authorMarc Cromme <marc@indexdata.dk>
Sat, 31 Mar 2007 20:06:18 +0000 (20:06 +0000)
committerMarc Cromme <marc@indexdata.dk>
Sat, 31 Mar 2007 20:06:18 +0000 (20:06 +0000)
src/http.c
src/pazpar2.c
src/zeerex.c

index ad353b6..61d3fd9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: http.c,v 1.18 2007-03-31 19:55:25 marc Exp $
+ * $Id: http.c,v 1.19 2007-03-31 20:06:18 marc Exp $
  */
 
 #include <stdio.h>
@@ -974,7 +974,7 @@ void http_init(const char *addr)
     const char *pp;
     int port;
 
-    yaz_log(YLOG_LOG, "HTTP listener is %s", addr);
+    yaz_log(YLOG_LOG, "HTTP listener %s", addr);
 
     memset(&myaddr, 0, sizeof myaddr);
     myaddr.sin_family = AF_INET;
@@ -1031,7 +1031,7 @@ void http_set_proxyaddr(char *host, char *base_url)
     strcpy(proxy_url, host);
     p = strchr(host, ':');
     yaz_log(YLOG_DEBUG, "Proxying for %s", host);
-    yaz_log(YLOG_LOG, "HTTP backend %s", proxy_url);
+    yaz_log(YLOG_LOG, "HTTP backend  %s", proxy_url);
     if (p) {
         port = atoi(p + 1);
         *p = '\0';
index c151cae..6c035b7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: pazpar2.c,v 1.57 2007-03-30 02:45:07 quinn Exp $ */
+/* $Id: pazpar2.c,v 1.58 2007-03-31 20:06:18 marc Exp $ */
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -1641,7 +1641,7 @@ static void start_zproxy(void)
     struct conf_server *ser = global_parameters.server;
 
     if (*global_parameters.zproxy_override){
-        yaz_log(YLOG_LOG, "Z39.50 proxy %s", 
+        yaz_log(YLOG_LOG, "Z39.50 proxy  %s", 
                 global_parameters.zproxy_override);
         return;
     }
index 12f6daa..de13578 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zeerex.c,v 1.5 2007-03-29 11:02:04 marc Exp $ */
+/* $Id: zeerex.c,v 1.6 2007-03-31 20:06:18 marc Exp $ */
 
 // Reads Zeerex records into a set of structures
 
@@ -14,7 +14,8 @@
 // Replace this with something that will take a callback
 static void fail(const char *s, xmlNode *n)
 {
-    yaz_log(YLOG_WARN, "Zeerex Err '%s'; elem '%s/%s'", s, n->parent->name, n->name);
+    yaz_log(YLOG_WARN, "Zeerex Err '%s'; elem '%s/%s'", 
+            s, n->parent->name, n->name);
 }
 
 // returns an nmem-allocated string if attr is present, or null