The old setup tried to log >= warning to stderr, the rest to stdout. However, that logic was flawed, so warnings ended up in stdout, which makes `hugo list all` etc. hard to reason about from scripts. This commit fixes this by making all logging (info, warn, error) log to stderr and let stdout be reserved for program output. Fixes #13074 |
||
---|---|---|
.. | ||
commandeer.go | ||
commands.go | ||
config.go | ||
convert.go | ||
deploy.go | ||
deploy_flags.go | ||
deploy_off.go | ||
env.go | ||
gen.go | ||
helpers.go | ||
hugo_windows.go | ||
hugobuilder.go | ||
import.go | ||
list.go | ||
mod.go | ||
new.go | ||
release.go | ||
server.go |