-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
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
ignoreLogs = ['cascade-pattern-with-extension'] emits console error #12151
Comments
It doesn't log an error, which is correct, which I suspect is the reason you couldn't get it to work. |
Yea, right ... we're logging this before we have configured the ... logger. |
Thanks for confirming, and please let me know if there's a simple assertion (or example) for testing stdout and stderr. |
Also clean up the log handling in the integration tester, most notably lost logs during the config loading. Fixes gohugoio#12151
Also clean up the log handling in the integration tester, most notably lost logs during the config loading. Fixes #12151
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. |
With this config...
...the build completes as expected with status code 0 (no errors), yet the console displays:
The test below passes (as it should), but needs a log assertion (I couldn't get that to work).
test case
Reference: https://discourse.gohugo.io/t/ignorelogs-cascade-pattern-with-extension-is-ignored/48383
The text was updated successfully, but these errors were encountered: