On 4/9/21 4:05 AM, Ben Franksen via Tech-talk 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.
I've been trying out the idea of adding color in the IOC core
to make error messages during iocInit more apparent. To avoid
the complaint you make in the case of errlog, I add some code
which strips out some ANSI escape sequences prior to logging.
https://github.com/epics-base/epics-base/pull/113
Of course this is no help for eg. procserv or screen.
Although, in the case of procserv some similar stripping
could be added.
> Also, the logging already
> inserts a timestamp, so the extra timestamp added by streamdevice gets
> in the way.
>
> Cheers
> Ben
>
- Replies:
- Re: streamdevice error messages Ben Franksen via Tech-talk
- References:
- streamdevice error messages Ben Franksen via Tech-talk
- Navigate by Date:
- Prev:
Re: Questions about arrays [SEC=UNOFFICIAL] STARRITT, Andrew via Tech-talk
- Next:
Vacancy at PSI: Software Scientists to develop data reduction and processing solutions Zimoch Dirk (PSI) 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
<2021>
2022
2023
2024
2025
- Navigate by Thread:
- Prev:
Re: streamdevice error messages Ben Franksen via Tech-talk
- Next:
Re: streamdevice error messages Ben Franksen 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
<2021>
2022
2023
2024
2025
|