msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

Production logging #222

Closed mark-prins closed 2 years ago

mark-prins commented 2 years ago

Closes #219

Adds logging to file which can be configured in settings. Was having trouble diagnosing issues with sensors not downloading logs when run in production mode and thought that this would be helpful

debug-logging

Disabled by default, and the option to log all console output to the logfile is also off by default. The other settings, such as log rotation, are defaults.

mark-prins commented 2 years ago

Thanks for looking it over @josh-griffin - much appreciated, though I wasn't expecting it! There's still something playing up.. but will find it 🤞