Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
During FINERACT-932, it occurred to me that it could be useful, when analysing error logs, to know in exactly which git revision an error log was produced, e.g. because line numbers may have changed in the mean time etc.
https://github.com/spring-projects/spring-boot/issues/11950 has something about including it in the Spring Boot banner - but that is easily lost in a long running application, and not immediately visible e.g. in https://cloud.google.com/error-reporting.
What would be nicer is if each log statement, literally every line, would simply include the Git revision. This should be possible through a custom log format acessing something from a global context (not MDC), somehow.
Attachments
Issue Links
- is part of
-
FINERACT-892 Include Logback Appender for Google Cloud Logging in Fineract container
- In Progress
- relates to
-
FINERACT-932 Parent Issue for Error Logs seeing during "normal" usage (e.g. on fineract.dev)
- Open
-
FINERACT-888 Fineract Docker Container should only log to STDOUT, not fineract-platform.log
- Resolved