Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Add remote logging via syslog protocol #2819

Open
dg7pc opened this issue Jan 21, 2024 · 9 comments
Open

RFE: Add remote logging via syslog protocol #2819

dg7pc opened this issue Jan 21, 2024 · 9 comments
Labels
enhancement New feature or request

Comments

@dg7pc
Copy link

dg7pc commented Jan 21, 2024

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. 😞

Please consider adding syslog.

Christian

@dg7pc dg7pc added the enhancement New feature or request label Jan 21, 2024
@caco3
Copy link
Collaborator

caco3 commented Jan 22, 2024

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.

@dg7pc
Copy link
Author

dg7pc commented Apr 3, 2024

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

@SybexX
Copy link
Collaborator

SybexX commented Apr 3, 2024

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.

@caco3
Copy link
Collaborator

caco3 commented Apr 3, 2024

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

@maticslaszlo
Copy link

+1 for remote logging

@korttoma
Copy link

+1

1 similar comment
@Net-Felix
Copy link

+1

@dg7pc
Copy link
Author

dg7pc commented Dec 26, 2024

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.

Until January I re-used old SD-Cards and they did the job for some weeks. In January I used a new one and it made the the Job until last week. Then the SD-Card become read-only and allowed me to copy the content to a new "Kingston Industrial Grade". (Dunno if that means something.)
I will keep the fingers crossed that this one lasts longer.

@SybexX
Copy link
Collaborator

SybexX commented Dec 27, 2024

From experience, the "high speed" cards get very hot and if the heat from the ESP32+OV2640 is added to it, it can happen that they break more quickly. The industrial version should be able to withstand more heat, but whether that will be enough for it to last longer, who knows. That's why I always use the cheapest cards, they're not that fast and don't really get warm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants