Import logging, remove database name check.