Log exception data in JSON log

When logging in JSON format, the exception data, e.g. stacktrace, which
the replication plugin logs into its own log are not logged to file.

The implementation was copied from
`com.google.gerrit.pgm.util.ErrorJsonLogEntry` in Gerrit core.

Change-Id: I690b9c21584d98dc69eabaf41fb2d4365f734ce0
1 file changed
tree: e09f1e19c483de8dfc1af30953cef95c345ed05a
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE