Add ability to disable debug log