Merge ~epics-core/epics-base/+git/Com:errlog2syslog into epics-base:7.0
Proposed by
mdavidsaver
Status: | Needs review |
---|---|
Proposed branch: | ~epics-core/epics-base/+git/Com:errlog2syslog |
Merge into: | epics-base:7.0 |
Diff against target: |
174 lines (+77/-6) 7 files modified
configure/CONFIG_ENV (+4/-0) modules/database/src/ioc/misc/iocInit.c (+2/-0) modules/libcom/src/env/envDefs.h (+1/-0) modules/libcom/src/error/errlog.h (+8/-0) modules/libcom/src/log/Makefile (+1/-0) modules/libcom/src/log/logClient.c (+12/-6) modules/libcom/src/log/syslogSink.c (+49/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
mdavidsaver | Needs Information | ||
Andrew Johnson | Needs Fixing | ||
Review via email:
|
Description of the change
Bridge from IOC errlog to syslog
If supported (!WIN32 && !vxWorks), and if $EPICS_
then errlog messages will be passed to syslog().
The value of $EPICS_
The idea being that an admin/init system will define EPICS_IOC_LOG_IDENT
appropriately if desired, so there is no need for boilerplate in every st.cmd.
By default this is only enabled for IOCs by calling errlogToSyslog()
from iocBuild(). (in case an IOC indirectly execs eg. caget)
To post a comment you must log in.
cf. discussion at https:/ /code.launchpad .net/~dirk. zimoch/ epics-base/ +git/epics- base/+merge/ 372925