use LogWrapper in DB layer.
reorder log methods
more logging tweaks