[FOLIO-598] Use a log format that includes the project name Created: 11/May/17 Updated: 18/Jan/19 |
|
| Status: | Open |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | New Feature | Priority: | P3 |
| Reporter: | Heikki Levanto | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: | |
| Development Team: | Core: Platform |
| Description |
|
Since Okapi merges logs from the modules into one, it is hard to see where various log messages come from. Add something like a %c to the log format in all projects, to get the module name in the logs |
| Comments |
| Comment by Heikki Levanto [ 11/May/17 ] |
|
%c seems to output "okapi" in okapi project, but I am not quite sure where it comes from. Possibly the string we pass to logger constructor in every module. log4j docs talk about multi-level ids, not quite sure about where they would come from, or how we should use those, if at all. |