We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In #13138 we made all logging (info, warn, error) log to stderr and let stdout be reserved for program output.
stderr
stdout
When you run hugo against a project that includes a module that has not been downloaded yet, this is written to stdout:
hugo
hugo: collected modules in 962 ms
If you run the command hugo list all before the module has been downloaded, the resulting CSV data is invalid.
hugo list all
If seems like the message above should be logged to stdErr instead.
stdErr
hugo/modules/collect.go
Line 509 in 5d64b49
hugo/common/loggers/logger.go
Lines 270 to 279 in 5d64b49
Can we replace the last line in the above with this?
fmt.Fprintf(l.stdErr, "%s in %v ms", name, milli)
The text was updated successfully, but these errors were encountered:
Yes. I will do a patch release, possibly Monday.
Sorry, something went wrong.
common/loggers: Write PrintTimerIfDelayed output to stdErr
23a47ad
Closes gohugoio#13171
6c583e3
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
jmooring
Successfully merging a pull request may close this issue.
In #13138 we made all logging (info, warn, error) log to
stderr
and letstdout
be reserved for program output.When you run
hugo
against a project that includes a module that has not been downloaded yet, this is written tostdout
:If you run the command
hugo list all
before the module has been downloaded, the resulting CSV data is invalid.If seems like the message above should be logged to
stdErr
instead.hugo/modules/collect.go
Line 509 in 5d64b49
hugo/common/loggers/logger.go
Lines 270 to 279 in 5d64b49
Can we replace the last line in the above with this?
The text was updated successfully, but these errors were encountered: