From c7b8fb38d1cd3568301aabac00c5627bd6f510ca Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Sat, 31 Mar 2007 20:06:18 +0000 Subject: [PATCH] aligning log messages for nice look-and-feel --- src/http.c | 6 +++--- src/pazpar2.c | 4 ++-- src/zeerex.c | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/http.c b/src/http.c index ad353b6..61d3fd9 100644 --- a/src/http.c +++ b/src/http.c @@ -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 @@ -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'; diff --git a/src/pazpar2.c b/src/pazpar2.c index c151cae..6c035b7 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -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 #include @@ -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; } diff --git a/src/zeerex.c b/src/zeerex.c index 12f6daa..de13578 100644 --- a/src/zeerex.c +++ b/src/zeerex.c @@ -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 -- 1.7.10.4