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);
-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
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);