Add logging and postgis datastore support.

Merge to gn develop