defaults to stats mode unless a log-format is passed