Open woutgg opened 10 years ago
Since the new log level's won't match users configuration (which is restored after sysupgrades), we have to make sure the loglevels are changed to a supported level.
One way to do this is to add a script in the /etc/uci-defaults/
folder, this script, when it exit's with 0 will be deleted automatically.
https://wiki.openwrt.org/doc/uci#uci-defaults
We should also remove the following log file override: https://github.com/Doodle3D/doodle3d-firmware/blob/feature/unify-logging%2Bchunk-checking/src/script/d3dapi
Currently, the print server and the Lua code have different log level definitions as well as different log message formatting. Both lack a proper facility mechanism, making it sometimes hard to determine which module logs what.
What needs to be changed: