Log is passed with the CreateConnection, made db script output logging configurable, corrected indentation