logDebug should be false by default