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: StreamDevice "No reply from device" messages |
From: | Dirk Zimoch <[email protected]> |
To: | [email protected] |
Date: | Fri, 06 Dec 2013 09:39:13 +0100 |
Hi John,I am thinking of a complete re-work of the error logging and debug output mechanism. This includes the possibility to switch on and off messages (debug and errors) for individual records and/or ports and to limit the amount of error messages and/or filter for error types. But this is non-trivial and takes some time.
Dirk On 05.12.2013 20:33, John Dobbins wrote:
All, I frequently encounter this situation and am wondering how to best address it: An IOC will have a device connected via StreamDevice. In my case it is typically a serial device connected though a serial-to-ethernet server. For some reason the serial device is not responding and the IOC console will have frequent "No reply from device" messages making it difficult to use the IOC console. These messages come from StreamCore which calls error() - defined in StreamError to print to stderr. I don't see any built in way to redirect these messages. I can imagine various changes but I am wondering what approach others may have taken or might suggest. Regards, John Dobbins Cornell University epics base R3.14.2 stream 2.5.1 asyn 4.19 linux-x86_64