:setlocal nospell on :setf log4x

Given that generally you are reading logs files, not writing them,
spelling-checking shouldn't be enabled by default.