EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: streamdevice error messages
From: "Hu, Yong via Tech-talk" <tech-talk at aps.anl.gov>
To: Ben Franksen <benjamin.franksen at helmholtz-berlin.de>, EPICS tech-talk <tech-talk at aps.anl.gov>, "Zimoch Dirk (PSI)" <dirk.zimoch at psi.ch>
Date: Sun, 11 Apr 2021 23:33:46 +0000
Hi Ben,

(a): if you are using the latest StreamDevice (2.8.19, or my fork as shown in #b), set the variable "streamDebugColored" to 0 either in st.cmd or the EPICS shell: var streamDebugColored 0
(streamDebugColored is default to 1)

(b): I have a fork from PSI StreamDevice: https://github.com/huyong1979/StreamDevice. You can try my fork. It works on Debian 7 (base-3.14.12.3 , gcc 4.7.2, make 3.81). I can turn off the timestamps added to messages by setting the variable "streamDebugTS" to 0 (streamDebugTS is default to 1).

Cheers,
Yong

********************************************************************************
On 4/9/21, 7:06 AM, "Tech-talk on behalf of Ben Franksen via Tech-talk" <tech-talk-bounces at aps.anl.gov on behalf of tech-talk at aps.anl.gov> wrote:

    Is there a way in streamdevice to

    (a) turn off coloring of messages?
    (b) turn off the timestamps added to messages?

    Rationale: we log everything happening on an IOC's console and the color
    escape codes make the logs hard to read. Also, the logging already
    inserts a timestamp, so the extra timestamp added by streamdevice gets
    in the way.

    Cheers
    Ben
    -- 
    I would rather have questions that cannot be answered, than answers that
    cannot be questioned.  -- Richard Feynman




Replies:
Re: streamdevice error messages Ben Franksen via Tech-talk
References:
streamdevice error messages Ben Franksen via Tech-talk

Navigate by Date:
Prev: ci-scripts 3.3 release: support for RTEMS 5 (coming soon to Base) Ralph Lange via Tech-talk
Next: Re: Questions about arrays [SEC=UNOFFICIAL] STARRITT, Andrew via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: streamdevice error messages Ben Franksen via Tech-talk
Next: RE: streamdevice error messages Mark Rivers via Tech-talk
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  <20212022  2023  2024 
ANJ, 12 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·