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

Vrmlogger: setting VRM mode to off: send dying wish to VRM #1329

Open
wiebeytec opened this issue Jul 29, 2024 · 1 comment
Open

Vrmlogger: setting VRM mode to off: send dying wish to VRM #1329

wiebeytec opened this issue Jul 29, 2024 · 1 comment
Milestone

Comments

@wiebeytec
Copy link
Collaborator

We log the new data attribute vrm (/Settings/Network/VrmPortal) with the VRM mode (off, read-only, full). This way, VRM can see that a device is running in read-only or full mode.

When turning it off, we currently have a bit of a catch-22, because vrmlogger is needed to send the 'off' (0) value. We can make vrmlogger sends this config change on exit, before actually exiting.

If daemon tools sends a proper SIGTERM, we can implement the exit handler as we want, and it should be easy to implement.

@wiebeytec wiebeytec added this to the v3.50 milestone Jul 29, 2024
@jhofstee
Copy link
Contributor

vrmlogger is not stopped though, it just no longer logs to the internet, it can still log to sd-cards etc. If I am not mistaken VRM knows if there are no new log records arriving, so I guess it will settle after some time, right?

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

No branches or pull requests

2 participants