Fix default logging

The || cannot be used here since logging is bool, therefore X || true is always true