Same connection pool is used for logging to DB and for persisting data.