Disable logs during OTR sessions to keep them clean.
optimize disable_logging()
Fix inconsistent logging state if several OTR session take place.