Fix default logging

The || cannot be used here since logging is bool, therefore X || true is always true
Merge pull request #2 from wichtounet/patch-2

Fix default logging (thanks wichtounet)