Update from prod.
Add SQL logging