Added logLevelNameColumnName to DB mapping; made some column type checks