logDebug is false by default