Add possibility to disable debug log