logging: don't define QueueListener if Python has no thread support
3 files changed