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

Feature request: getting and resetting log #41

Open
uahim opened this issue Jan 31, 2024 · 0 comments
Open

Feature request: getting and resetting log #41

uahim opened this issue Jan 31, 2024 · 0 comments

Comments

@uahim
Copy link

uahim commented Jan 31, 2024

which is pretty much the only thing that this script lacks

something like
curl -k -s -G "http://$BoxIP/query.lua" -d "mq_log=logger:status/log" -d "sid=$SID" | jq -r ".mq_log|.[]|._node?//.[0]" | tac
to read and
curl -s "http://$BoxIP/data.lua" --compressed --data "xhr=1&sid=$SID&lang=de&page=log&xhrId=del&del=1&useajax=1&no_sidrenew="
to reset the log works fine for me, but I guess you could come up with other/more efficient ways!

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

1 participant