warning fix

initialization order warning
code formatting + warning fix

vector iteration
code format + warning fix
new log format parsing + log file