Doodle3D / doodle3d-client

The Doodle3D web interface that people can access on computers or tablets to draw doodles and control the Doodle3D WiFi box.
www.doodle3d.com
GNU General Public License v2.0
3 stars 8 forks source link

Unify and extend logging facilities #243

Open woutgg opened 10 years ago

woutgg commented 10 years ago

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:

peteruithoven commented 8 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

peteruithoven commented 8 years ago

We should also remove the following log file override: https://github.com/Doodle3D/doodle3d-firmware/blob/feature/unify-logging%2Bchunk-checking/src/script/d3dapi