Files
Daniel Figueroa 8134a18773 Log to server (#24)
* Log to server with log levels

I've added a field to config.json where the user can select which
log level they're interested in. By default if the value is missing
or 'NONE' no logs will be sent to the server.

All messages passed to log.sh now takes two parameters the message and
the level. I took the liberty to set all logs except in four places where
I think WARN is appropriate.

I also made sure that the json response that is logged early in
trmnlloop.sh is escaped correctly.

* Make NONE default if LogToServer is missing in config.json

* Fixed bug when calling logToServer.sh

Accidentally didn't expand the parameter.
2026-03-02 11:54:24 +01:00
..
2026-03-02 11:54:24 +01:00