BUGFIX: SELECT syntax in normalizeLog()

remove final comma from SELECT in normalizeLog()