If DEBUG=True, logging outputs to console.