salts633 / PhotoFrame

A python/browser based digital photo frame
GNU General Public License v3.0
0 stars 1 forks source link

Logging system #1

Closed salts633 closed 4 years ago

salts633 commented 4 years ago

The code is littered with print statements and even the odd TODO log this.

Set up a proper logging system, the tornado server provides logging but the docs arent' especially clear. Essentially Tornado adds contexts to the default logging system so do LOGGER = logging.getLogger("tornado.application") or similar.

salts633 commented 4 years ago

added logging in bb5fbc7c8e1f5da2b58e65a3ca3b80e7d50fb6ce