mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-18 10:15:09 +00:00
Small tweaks to formatting.
This commit is contained in:
1 parent
66c87350e3
commit
864f2e33cd
1 file changed
+7
-6
@@ -122,9 +122,9 @@ are [automatically interpolated by Log4j2](https://logging.apache.org/log4j/log4
|
||||
appender. The exception to this rule is context/MDC (`${ctx:foo}`) value lookup - it is performed for each message at
|
||||
runtime (allocation free).
|
||||
|
||||
NOTE: This process could have been executed for every lookup type at runtime (for each log message). This approach was
|
||||
*NOTE: This process could have been executed for every lookup type at runtime (for each log message). This approach was
|
||||
deemed too expensive. If you need a mechanism to replace a variable (other than context/MDC) after logging system
|
||||
initialization I would love to hear your use case - please file an issue.
|
||||
initialization I would love to hear your use case - please file an issue.*
|
||||
|
||||
## Patterns in Labels
|
||||
|
||||
@@ -140,11 +140,11 @@ Log4j [pattern layout](https://logging.apache.org/log4j/2.x/manual/layouts.html#
|
||||
internal classes for this implementation. It is generally efficient and allocation free as
|
||||
per [documentation](https://logging.apache.org/log4j/log4j-2.12.1/manual/garbagefree.html#PatternLayout).
|
||||
|
||||
### Properties file based configuration
|
||||
## Properties file based configuration
|
||||
|
||||
Properties file is a simple configuration format, but it is not always clear how to implement more advanced features
|
||||
such as components instantiated more than once. For basic overview of how to configure log4j using properties file
|
||||
see [here](https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties).
|
||||
see [here](https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties).
|
||||
|
||||
<details>
|
||||
<summary>Here is an example configuration that defines multiple labels.</summary>
|
||||
@@ -185,9 +185,10 @@ appender.loki.labels[1].value=log4j
|
||||
|
||||
</details>
|
||||
|
||||
## Details
|
||||
## Configuration reference
|
||||
|
||||
Let's go through the example config above and analyze configuration options (**Note: Tags are case-insensitive**).
|
||||
Let's go through the example config used in previous sections and analyze configuration options (**Note: Tags are
|
||||
case-insensitive**).
|
||||
|
||||
#### Host (required)
|
||||
|
||||
|
||||
Reference in new issue
Block a user