-
Notifications
You must be signed in to change notification settings - Fork 3
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
feature request: consrv-side buffering for interrupted connections #2
Comments
Sounds cool! I'd be happy to accept a PR. |
Thinking more about it, the following approach seems simpler overall: instead of making consrv do all the buffering and replay, we could instead just launch a goroutine that reads from the mux device and prints to stdout. In combination with https://github.com/gokrazy/syslogd and https://gokrazy.org/userguide/remotesyslog/, the logs can either be sent to a central syslog server, or sent to localhost and persisted to RAM or any other available storage via syslogd. |
Yep, seems reasonable to me. |
This is handy with gokrazy’s remote syslog support: https://gokrazy.org/userguide/remotesyslog/ …and the gokrazy syslog daemon: https://github.com/gokrazy/syslogd fixes mdlayher#2
This is handy with gokrazy’s remote syslog support: https://gokrazy.org/userguide/remotesyslog/ …and the gokrazy syslog daemon: https://github.com/gokrazy/syslogd fixes mdlayher#2
This is handy with gokrazy’s remote syslog support: https://gokrazy.org/userguide/remotesyslog/ …and the gokrazy syslog daemon: https://github.com/gokrazy/syslogd fixes mdlayher#2
This is handy with gokrazy’s remote syslog support: https://gokrazy.org/userguide/remotesyslog/ …and the gokrazy syslog daemon: https://github.com/gokrazy/syslogd fixes #2
Hey 👋
I started using consrv recently (blog post coming soonish) :)
I not only use serial console for interactive on-demand access, but also for continuous, always-on logging.
Because I started suspending my PC to RAM over night, I have gaps in my serial console logs.
I was wondering what you think about making consrv store serial logs (either in RAM, and/or on disk) while the client is disconnected? Once the client reconnects, consrv would stream what the client missed.
Thanks
The text was updated successfully, but these errors were encountered: