Skip to content
Snippets Groups Projects
Commit 56c4760a authored by Anders Lindh Olsson's avatar Anders Lindh Olsson :8ball:
Browse files

Add iocLog snippet

parent 9e44c87f
Branches main
Tags 1.2.1
No related merge requests found
Pipeline #102206 failed
#- ### iocLog iocsh ###
#- ########################################$###########
#- >> Mandatory
#- IOCNAME - IOC NAME
#- LOG_INET - EPICS_IOC_LOG_INET
#- >> Optional
#- LOG_INET_PORT - EPICS_IOC_LOG_PORT, Default : 7004
#- LOGDISABLE - log enalble, Default : 0
#- FACNAME - facility name, Default :
#- #########################################$##########
epicsEnvSet(EPICS_IOC_LOG_INET, "$(LOG_INET)")
epicsEnvSet(EPICS_IOC_LOG_PORT, "$(LOG_INET_PORT=7004)")
epicsEnvSet(iocLogDisable, "$(LOGDISABLE=0)")
iocLogPrefix("fac=$(FACNAME=) proc=$(IOCNAME)");
# require has afterInit function
afterInit("iocLogInit()")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment