2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [Merge] ~epics-core/epics-base/+git/Com:errlog2syslog into epics-base:7.0 |
From: | mdavidsaver via Core-talk <[email protected]> |
To: | mdavidsaver <[email protected]> |
Date: | Tue, 26 Nov 2019 00:58:25 -0000 |
> I don't see any way to set a prefix for logging to an external log-server without also enabling errlogToSyslog() Well yes, I removed this as requested... > become a similar command that must appear in st.cmd Unfortunately this is exactly what I'm trying to avoid. My motivating use case is a sysadmin wishing to setup/change logging for all IOCs on a host. Defining an environment variable is a common way for an init script (or systemd unit) to communicate this. Of course, this can already be accomplished by capturing stdout/err (a la procServ). Though procServ isn't used as often as (I think) it should be. > I'm not convinced we have the prefix logic right — sorry! Shall I remove the interconnection with iocLogPrefix() ? -- https://code.launchpad.net/~epics-core/epics-base/+git/Com/+merge/373098 Your team EPICS Core Developers is subscribed to branch epics-base:7.0.