-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Use of HttpConfiguration.setBlockingTimeout(long) in jetty.xml produces warning on jetty-home startup #4084
Comments
Yes, it's our own stuff and we should not warn but fix it. |
I think I will just make the warning a debug for now. |
Signed-off-by: Greg Wilkins <gregw@webtide.com>
I made it debug only in 9, but kept the warning in 10 (as it has the |
I would have preferred that XmlConfiguration not attempt to |
Yes we want the warnings, and we can easily remove the call from the XML - the default value should be the same. |
I think we have enough to do on other issues. Let's not sweat this one in 9.4 - all is good in 10. |
If we are going to go this route, I would prefer the old 9.4 behavior, reverting commit 157910d on |
I really don't think this is worth the effort - but fix it if you like. But we can't have warnings from a normal distro, nor should we remove a feature in a dot release. |
+ The XML warning on Deprecated will be squelched (set to DEBUG) if the <Set> call has a <Property> (or <SystemProperty>) that is using its default value. All other uses will still result in WARN level logging event. Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…ngtimeout-warning Issue #4084 - squelch deprecated warning on <Set> call.
@sbordet I don't see where you removed the property from the jetty.xml file. It seems it's still there on master. |
FTR I've replaced it with the following but I don't know if that's correct:
|
The HttpConfiguration.setBlockingTimeout(long) is deprecated.
The new deprecation warnings in XmlConfiguration is correctly reporting that our use of setBlockingTimeout(long) is deprecated.
Even if we are not setting it to a value (default value in jetty-home modules / xml is -1)
Should we make an effort to remove this warning?
The text was updated successfully, but these errors were encountered: