disable logging with NDEBUG flag