From 54671b9368e1faee06b153f12f1651f5e26fd20a Mon Sep 17 00:00:00 2001 From: hadaq Date: Fri, 15 Apr 2011 10:13:19 +0000 Subject: [PATCH] Not needed printf removed. Sergey. --- hadaq/logger.c | 2 +- hadaq/netmem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hadaq/logger.c b/hadaq/logger.c index 80956b9..9e7077c 100644 --- a/hadaq/logger.c +++ b/hadaq/logger.c @@ -36,7 +36,7 @@ void storeLogInfo(TheArgs *theArgs, const char *msg) fclose(fp); } else if (strcmp(theArgs->log, "syslog") == 0) { openlog("DAQ", LOG_ODELAY, LOG_LOCAL1); /* Centralized logging */ - printf("progName: %s\n", theArgs->progName); + /* Identify the application name */ if (strcmp(theArgs->progName, "daq_evtbuild") == 0) { syslog(LOG_INFO, "%s-%s %s", "EVTBLD", theArgs->shmname, msg); diff --git a/hadaq/netmem.c b/hadaq/netmem.c index 7b86ae8..7911b97 100644 --- a/hadaq/netmem.c +++ b/hadaq/netmem.c @@ -1,4 +1,4 @@ -static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.52 2011-04-12 16:34:40 hadaq Exp $"; +static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.53 2011-04-15 10:13:19 hadaq Exp $"; #define _POSIX_C_SOURCE 199309L #define SYSLOG_NAMES @@ -304,7 +304,7 @@ void storeLogInfo(TheArgs *theArgs, const char *msg) fclose(fp); } else if (strcmp(theArgs->log, "syslog") == 0) { openlog("DAQ", LOG_ODELAY, LOG_LOCAL1); /* Centralized logging */ - printf("progName: %s\n", theArgs->progName); + /* Identify the application name */ if (strcmp(theArgs->progName, "daq_evtbuild") == 0) { syslog(LOG_INFO, "%s-%s %s", "EVTBLD", theArgs->shmname, msg); -- 2.43.0