Added ESI information to SQL log