Commit dd04125
Erik Schuchmann
Enable logging of remote_user in access logs [HUBP-203] (#5)
mainstreethub/msh-dropwizard-auth-bundle@216516e7 added support for
logging the authenticated user in the access logs. By default, logback
logs the remote user in a json field called "@fields.remote_user" which
logstash is unable to process. This updates the field name for remote_user
to be a logstash valid name.1 parent 42f9ec6 commit dd04125
File tree
1 file changed
+12
-0
lines changed- src/main/java/io/dropwizard/bundles/jsonlog
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
177 | 189 | | |
178 | 190 | | |
179 | 191 | | |
| |||
0 commit comments