Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

Log rotate #46

Closed peteruithoven closed 8 years ago

peteruithoven commented 9 years ago

Currently we just write logs to log files, but this means that after a while the log files will take up so much space that the box crashes. To make sure that this doesn't happen to soon we limit the info that we log. While it would be interesting to for example log all the api communication and serial communication.

Rotating the log files means we automatically delete the oldest logs. There are ways of doing this. We probably want to switch to another log file when the current log file exeeds a certain number of lines. Then the older files can be automatically removed. https://en.wikipedia.org/wiki/Log_Rotate

Original: https://github.com/Doodle3D/doodle3d-client/issues/147

peteruithoven commented 8 years ago

Also see: https://github.com/Doodle3D/print3d/issues/32

peteruithoven commented 8 years ago

Let's consider this a duplicate of https://github.com/Doodle3D/print3d/issues/32 and close it.