added db status logger