AI-on-the-edge-device icon indicating copy to clipboard operation
AI-on-the-edge-device copied to clipboard

RFE: Add remote logging via syslog protocol

Open dg7pc opened this issue 1 year ago • 9 comments

The Feature

I was not able to find any Issues or Discusisons on this topic.

I suggest to add remote syslog as another option to collect logfiles. From my point of view there are several benefits

  • Less writes to the SDcard should result in longer lasting cards.
  • If something is broken you can still check the famos last words from our ESP
  • Monitoring if everything is OK gets easier.

I found an syslog implementation for ESP32: https://github.com/arcao/Syslog My last C++ programming was done the end of the last century, so sadly I am no longer able to test it on my own. :disappointed:

Please consider adding syslog.

Christian

dg7pc avatar Jan 21 '24 17:01 dg7pc

I like the idea. your linked implementation relies on Arduino, so we can't use it. Would need to find one implemented based on ESP-IDF or native.

caco3 avatar Jan 22 '24 06:01 caco3

The next SD card seems to be done.

As mentioned before, I cannot do the porting but I can test, trouble shoot, and write bug reports.

In the linked issue another library is mentioned

One of these two issues should be closed, dunno which one.

Christian

dg7pc avatar Apr 03 '24 19:04 dg7pc

You write "The next SD card seems to be done", however this is not meaningful^^ The runtime of the SD is what everyone cares about. I have a cheap SD with 128MB and after 3/4 year I still have no problems. I think a change interval of 2 to 3 years is okay, as the quality of the SDs has declined dramatically in recent years and of course their price. And even well-known manufacturers deliver inferior quality.

SybexX avatar Apr 03 '24 20:04 SybexX

And I have cheap cards (Ali Express, noname) with a 2 minutes interval and logging and no issues for years...

caco3 avatar Apr 03 '24 20:04 caco3

+1 for remote logging

maticslaszlo avatar Jun 01 '24 09:06 maticslaszlo