lib.connection. reduce log output