Complain if we cannot connect to the logging database, but don't crash

Found this when my PGPORT env var was set and tests were crashing for seemingly strange reasons.