-
Notifications
You must be signed in to change notification settings - Fork 384
Replace servlet context logging with logging facade #10138
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
Open
Lactantius
wants to merge
23
commits into
gwtproject:main
Choose a base branch
from
Lactantius:context-logging-replacement
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1972cb5
Replace servlet context logging with JUL logging in com.google.gwt.us…
g-keiser 7593341
Add RPC logging facade backed by service loader
g-keiser 752da22
Add ServletContext parameter to RpcLogger methods, allow only one ini…
g-keiser 8479994
Remove unneeded double-checked locking from RpcLogManager#getLoggerPr…
g-keiser a193b4b
Added missing prefix to ServletContextLogger#error(String, Throwable,…
g-keiser ff5c4a4
Remove reflective logger implementations
g-keiser 4c02c1d
Remove accidentally committed logging
g-keiser aed9365
Add real delegate to RpcLogger constructor instead of trying to lazil…
g-keiser 370a386
Remove manual logger initialization mechanisms
g-keiser 6c56728
Remove redundant atomic for RpcLoggerProvider
g-keiser 949f5ef
Fix link to maven guide
g-keiser fc0680f
Remove RpcLoggerProvider services file, which is not being packaged p…
g-keiser 68a3b9d
Remove reference to services directory from maven build script
g-keiser 5dd9a4f
Correct continuation indent
g-keiser 72127bc
Remove ServletContext parameter from RpcLogger methods by instead set…
g-keiser 0d09368
Improve javadoc comment
g-keiser 2091f1c
Update javadoc
g-keiser fd4e266
Merge initialize and get provider methods in RpcLogManager
g-keiser ece5acf
Revert changes to RemoteServiceServletTest
g-keiser cecfc97
Remove unneeded layer of indirection by combining RpcLogger and RpcLo…
g-keiser a0010c1
Remove unneeded locking from logger provider initialization
g-keiser 219daba
Improve documentation of RPC logging package
g-keiser 19969ef
Correct an inaccurate javadoc
g-keiser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
user/src/META-INF/services/com.google.gwt.user.server.rpc.logging.LoggerProvider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| com.google.gwt.user.server.rpc.logging.JulLoggerProvider | ||
| com.google.gwt.user.server.rpc.logging.Log4jProvider | ||
| com.google.gwt.user.server.rpc.logging.PlatformLoggerProvider | ||
| # No no-args constructor: com.google.gwt.user.server.rpc.logging.ServletContextLoggerProvider |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
javadoc as to why it is deprecated, what the user should do instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand your reply - perhaps you changed your mind, and it is still deprecated, but now has a comment? Or did you intend to drop this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I changed the way some of this stuff worked and deprecated that again.