paulscherrerinstitute / StreamDevice

EPICS Driver for message based I/O
GNU General Public License v3.0
28 stars 42 forks source link

remove error message in streamReadWrite #43

Closed bfrk closed 4 years ago

bfrk commented 4 years ago

If the record hasn't been initialized correctly, we don't want the console to be spammed every time the record gets processed.

dirk-zimoch commented 4 years ago

What then? Be silent and don't tell the user that a record does not work and assume INVALID/UDF is enough?

bfrk commented 4 years ago

Yes. I think this is what alarm status and severity are for. Also, in this case we should have got an error message when the IOC boots i.e. during record init.

Note that writing to the console for every processing of a record, even if it is just one line, can generate gigabytes of log messages in a few days (many devices with many records with high scan rates) e.g. when a complete bus segment is offline.