signalk-server icon indicating copy to clipboard operation
signalk-server copied to clipboard

N2K input stream errors...

Open preeve9534 opened this issue 4 years ago • 2 comments

My logs fill up with these:

Nov 16 12:31:14 ERROR 2020-11-16T11:31:14.550Z [actisense-serial] DLE followed by unexpected char 00, ignore message
Nov 16 12:31:14 ERROR 2020-11-16T11:31:14.550Z [actisense-serial] Ignore short command len = 0
...
Nov 16 12:33:01 ERROR 2020-11-16T11:33:01.562Z [actisense-serial] Ignoring message with invalid checksum
...
Nov 16 12:33:28 ERROR 2020-11-16T11:33:28.035Z [actisense-serial] DLE followed by unexpected char 1E, ignore message ERROR 2020-11-16T11:33:28.035Z [actisense-serial] Ignoring message with invalid checksum
Nov 16 12:33:40 ERROR 2020-11-16T11:33:40.689Z [actisense-serial] Ignoring message with invalid checksum

Which I guess derive from N2K messages that canboat-js and actisense-serial don't know how to decode. I get four or five a minute and they fill syslog pretty quickly with repetitive information.

Is there a way of preventing logging of these outputs or perhaps hiding them behind a debug key?

preeve9534 avatar Nov 16 '20 11:11 preeve9534

please open issues for this in canboat and/or canboatjs

sbender9 avatar Dec 10 '20 15:12 sbender9

Willco.

On Thu, 10 Dec 2020, 16:16 Scott Bender, [email protected] wrote:

please open issues for this in canboat and/or canboatjs

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SignalK/signalk-server/issues/1189#issuecomment-742584172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2BPMMAUDYVQXIETVMF2Z3SUDQ4LANCNFSM4TXB3B2Q .

preeve9534 avatar Dec 10 '20 15:12 preeve9534