msr-consulting / exscalabar_server

Repository for the EXSCALABAR server.
http://www.msrconsults.com/ukmet-gh/exscalabar
0 stars 1 forks source link

STOP SPAMMING LOGS!!!! #99

Closed lo-co closed 7 years ago

lo-co commented 8 years ago

When devices fail to configure properly, we need to provide the error code and a note that the device launch failed. Right now,

both spam the logs and messages. Not acceptable! An acceptable message looks like this for the pressure transducers:

04:33:24.57 [p515] Device stopping.
04:33:24.61 [ctl] Launch of object with ID p515 failed with code -1073807339.

The Meerstetters fail with a bunch of messages - one for each command.

We need to send just one message AND NOT ATTEMPT TO CONTACT THE DEVICE AFTER ONE FAILS WITH -1073807339

lo-co commented 8 years ago

May have not been bypassing errors for Meerstetters... Should throw one and then just push past all other serial IO.

lo-co commented 8 years ago

This is what a bad log looks like (400+ messages that look like this): vaisala error log

JustinLangridge commented 7 years ago

Is this still a problem?