diff --git a/startup.script_common b/startup.script_common index a48d5f0..2e7677b 100644 --- a/startup.script_common +++ b/startup.script_common @@ -53,8 +53,8 @@ dbQuietMacroWarnings=1 # Start Logging putenv getenv("EPICS_IOC_LOG_INET") ? "" : "EPICS_IOC_LOG_INET=gfa-syslog" putenv getenv("EPICS_IOC_LOG_PORT") ? "" : "EPICS_IOC_LOG_PORT=1514" -sprintf STRINGBUFFER, "putenv \"EPICS_CA_PUT_LOG_PREFIX=%s\"", IOC -execute STRINGBUFFER +sprintf STRINGBUFFER, "%s ", IOC +iocLogPrefix STRINGBUFFER iocLogInit errlogPrintf "Starting EPICS %s\n", EPICS