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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Problems with StreamDevice |
From: | Mark Rivers via Tech-talk <[email protected]> |
To: | "'Zimoch Dirk (PSI)'" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Fri, 15 Feb 2019 19:46:30 +0000 |
Hi Dirk, Thanks for the reply. Are there release notes for StreamDevice somewhere? I cannot find them on Github or on the PSI web site. This change in error behavior seems to me something that should be documented. I think the protocol error reporting is not fixed in 2.8.8. Ø
I always wanted to rework the error and debug message system, in particular to allow filtering per record, but I never found the time. I suggested some time back that it would be good for streamDevice to print messages using ASYN_TRACE_ERROR, ASYN_TRACE_FLOW, and ASYN_TRACEIO_DEVICE for the underlying asyn port. Then at least users have control over the error and debugging
information on a per-port basis. I understand that the core of Stream is intended to be independent of asyn. But in practice I think only asyn is used? The error handling could be made to hide asyn, so that is uses asyn if available, and something else
if not. Thanks, Mark From: Zimoch Dirk (PSI) <[email protected]> People here at PSI had complained about error message flooding when devices go crazy or are offline. Softiocs had filled their disks with logs and such.
Thus I have heavily reduced the amount of error output. StreamDevice sets asynTraceMask to 0. This has already been reported as a bug arguing it is not StreamsDevice‘s responsibility to silence other code. And it does so in iocInit, so that user settings in the startup script are ignored. I
am somewhat convinced that this is a valid argument and will change it soon. StreamDevice suppresses its own error messages by default now. You can re-enable error messages with var streamError 1. In the first 2.8 versions this also suppressed parsing errors which was very inconvenient. This should not happen any more. Errors are enabled while reading the protocol file. I will check in which version this is the case on Monday. But
I thought this was already fixed in 2.8.8. Dirk
|