Hello I have service which works in transactions, it's communicating with remote API and I want to log every request/response in this API, but if main transaction rollback, any logs will be rollbacked too.
What I think is to clone DBAL connection. Will it open second connection with no transaction where I can insert with no fear of rollback ?
And is there any other way to work-around this?