Impl debug log of/off