commit | c8943f23c073ff570f015fe8ed30349fc5bcc4b7 | [log] [tgz] |
---|---|---|
author | Lauritz Vang <ljvang91@gmail.com> | Sun May 28 00:14:51 2023 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Jun 27 14:50:16 2023 +0100 |
tree | f8c1670b54d472fdd17ef8dbf27d55eda51e0ffb | |
parent | 061cfa20b2c36f192cccc2ed24a78709081158d7 [diff] |
Fix duplicate log appender creation When using log4j.properties file to override the text log file appender, the previous code would ignore the appender configured in the log4j properties file and create a hardcoded default text log file. Fix this by checking if an appender already exists before creating it. Original-Change: https://gerrit-review.googlesource.com/c/modules/global-refdb/+/375596 Change-Id: I99f698c27e0f2479ea111f044c0f43d1d9bd4e30
Global ref-database interface for use with Gerrit Code Review.
Enables the de-coupling between Gerrit, its libModules and the different implementations of a globally shared ref-database.
The design for a global ref-db interface can be found as part of the multi-site design documentation, where it first originated and was approved by the community.
In order to consume this library, some Guice bindings need to be registered appropriately. More information in the relevant documentation.
Global ref-database expose metrics to measure the global ref-database operation latency. List of the available metrics can be found here.