pklaus / brother_ql_web

A Python-based web service to print labels on Brother QL label printers. Based on brother_ql: https://github.com/pklaus/brother_ql
GNU General Public License v3.0
261 stars 127 forks source link

Log printed labels to stdout #25

Open pklaus opened 4 years ago

pklaus commented 4 years ago

See ba35a10 and 5d079b8 Those are commits from @Jeroen684 from PR #16. They also silence bottle's web server log on stdout.

I put this here for me as a reminder while merge-closing the PR otherwise (merging only the commit about the file encoding the PR was about originally).

pklaus commented 4 years ago

The biggest issue I see is the fact that the code is logging to a hard-coded file printhistory.log. It should be configurable. (And possibly default to stdout?)