Log when setting a cookie