nvgoldin / mirrorchecker

0 stars 0 forks source link

Refactor logging to be none-blocking and optionally allow output to stdout/stderr #7

Open nvgoldin opened 8 years ago

nvgoldin commented 8 years ago

Two issues with the current logging:

  1. In order to better suite running under docker, it would be preferable to optionally allow the logs to go to stdout/stderr instead of the file, then it could be easily collected with the standard docker logging plugins.
  2. The current logging is blocking. Theoretically this could decrease performance. One solution might be facilitating asyncio.Queue as a logging queue. Needs more inspection.