Add switch log.info to log.debug and vice-versa + refacto to avoid code repetition