]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Not needed printf removed. Sergey.
authorhadaq <hadaq>
Fri, 15 Apr 2011 10:13:19 +0000 (10:13 +0000)
committerhadaq <hadaq>
Fri, 15 Apr 2011 10:13:19 +0000 (10:13 +0000)
hadaq/logger.c
hadaq/netmem.c

index 80956b9be50e5a9b7c2f84980e43ded1a6946611..9e7077c8eba164c72c5d2be8fdfa30f6bb67cb5b 100644 (file)
@@ -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);
index 7b86ae8fe3a6ad26689a24f305a945257390bb6c..7911b977d641643806637abc05ede33b8256df71 100644 (file)
@@ -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);