-
Notifications
You must be signed in to change notification settings - Fork 34
Include userId in log messages by using MDC #1102
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
Labels
Milestone
Comments
How about an anonymous user? |
In this case, log message will contain an empty userId. The same for Spring Boot logs or repeated tasks that we run for maintenance. Another option is to use 0 UID as it never exists. Let's use the first approach and will change it if necessary. |
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 27, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 27, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 28, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 28, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 28, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 28, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 29, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 29, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 29, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 29, 2019
mukeshk
added a commit
to mukeshk/mystamps
that referenced
this issue
Jul 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
Acceptance criteria:
How to achieve that:
Hint:
OncePerRequestFilter
(see also https://stackoverflow.com/questions/13152946/what-is-onceperrequestfilter)Part of #388
The text was updated successfully, but these errors were encountered: