RFR: 980: Update log level of thrown exceptions [v2]

Erik Joelsson erikj at openjdk.java.net
Wed Apr 21 12:27:46 UTC 2021


> This patch updates (almost) all uses of log.throwing() to log.log() so that we can include any exception in a log message of the appropriate level. This became necessary as we started logging each log message individually to logstash, so the FINER level logs from log.throwing() were no longer included. 
> 
> In addition to this, I'm also adding stack_trace and logger_name as fields in the logstash logging entries.

Erik Joelsson has updated the pull request incrementally with one additional commit since the last revision:

  Update bot/src/main/java/org/openjdk/skara/bot/BotRunner.java
  
  Co-authored-by: Robin Westberg <robin at westberg.se>

-------------

Changes:
  - all: https://git.openjdk.java.net/skara/pull/1132/files
  - new: https://git.openjdk.java.net/skara/pull/1132/files/00c22590..6fe77527

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=skara&pr=1132&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=skara&pr=1132&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/skara/pull/1132.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/1132/head:pull/1132

PR: https://git.openjdk.java.net/skara/pull/1132


More information about the skara-dev mailing list