-
Notifications
You must be signed in to change notification settings - Fork 638
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
[4.x]: Logs with web.WARNING when devMode is disabled #11141
Comments
As this context message is being logged for every request (and it's also a WARN so it's being logged twice for I imagine it just needs removing altogether when devMode is false. |
@martinleveille @mattgrayisok to clarify: With It is logged as a If you'd rather disable the request context entirely (or conditionally), you can do so via |
@timkelty Thanks for your answer and gist examples, but I've just done a clean install and only get craft4_warning_logs.mp4 |
Thanks for the video @martinleveille. You're absolutely right. I did some further debugging with @mattgrayisok and am able to reproduce. We'll have a fix out asap! |
@martinleveille @mattgrayisok I have this fixed here If you could try |
Craft 4.0.3 is out now with that fix. |
What happened?
With
devMode
enabled, you normally get these lines for each page load in the log files:But when you disable
devMode
, you get a singleweb.WARNING
line for each page load:Should this line be a
web.INFO
whendevMode
is disabled ?Craft CMS version
4.0.1
PHP version
8.0.18
Operating system and version
Darwin 21.4.0
Database type and version
MySQL 8.0.28
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.0-30)
Installed plugins and versions
No plugins
The text was updated successfully, but these errors were encountered: