From: hadaq Date: Fri, 15 Apr 2011 10:13:19 +0000 (+0000) Subject: Not needed printf removed. Sergey. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=54671b9368e1faee06b153f12f1651f5e26fd20a;p=daqdata.git Not needed printf removed. Sergey. --- 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);