adds log to ensure db connection