[PATCH 3/5] Logs: add method disable_logging