1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Changing ioc logging. Should I use a modified iocLogServer? |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tcumming at gemini.edu" <tcumming at gemini.edu> |
Cc: | Emma Kurz <ekurz at gemini.edu>, Tiffany Shreves <tshreves at gemini.edu>, Hawi Stecher <hstecher at gemini.edu>, EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Wed, 22 Jul 2020 23:11:06 +0000 |
Hi Tom,
On Jul 22, 2020, at 4:28 PM, Tom Cumming via Tech-talk <tech-talk at aps.anl.gov> wrote:
It’s still in Base, but at some point someone will probably propose that we remove it and it will either get unbundled or just dropped completely.
The IOCs really don’t need any special kind of support from a log-server, so it is probably much better to pick a standard non-EPICS log-server package and just use that. All they do is open a TCP connection to a specific port on the indicated host, through
which they then send text (ending in a newline) whenever they have something to log. I would like EPICS to adopt the convention that continuation lines in a multi-line message should always start with a whitespace character as that makes it easy to collect
complete log messages, but there are quite a few places inside Base which don’t follow that and of course many messages come from outside of Base anyway.
The APS currently plan to use Logstash to collect messages and we will probably have that push them to an ElasticSearch database with a Kibana front-end once we get around to setting everything up. You probably already have some standard logging tool that
should be able to handle them just as well once configured. I really don’t think it’s worth trying to fix the existing log-server code, I’m sure you have better things you could be spending time on.
HTH,
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|