Skip to content

Commit

Permalink
Update sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
sndyuk committed Feb 16, 2022
1 parent 6418e43 commit 9a6f315
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/resources/logback-appenders-fluentd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<!-- Host name/address and port number which Fluentd placed -->
<remoteHost>localhost</remoteHost>
<port>24224</port>

<!-- [Optional] Additional fields(Pairs of key: value) -->
<additionalField>
<key>foo</key>
Expand All @@ -24,6 +25,10 @@
<value>bar2</value>
</additionalField>

<!-- [Optional] Ignored fields. The fields won't be emitted to Fluentd -->
<ignoredField>throwable</ignoredField>
<ignoredField>thread</ignoredField>

<!-- [Optional] Configurations to customize Fluent-logger-java's behavior -->
<bufferCapacity>16777216</bufferCapacity> <!-- in bytes -->
<timeout>10000</timeout> <!-- in milliseconds -->
Expand Down Expand Up @@ -92,6 +97,10 @@
<value>bar2</value>
</additionalField>

<!-- [Optional] Ignored fields. The fields won't be emitted to Fluentd -->
<ignoredField>throwable</ignoredField>
<ignoredField>thread</ignoredField>

<!-- [Optional] Configurations to customize Fluency's behavior: https://github.com/komamitsu/fluency#usage -->
<ackResponseMode>true</ackResponseMode>
<!-- <fileBackupDir>/tmp</fileBackupDir> -->
Expand Down

0 comments on commit 9a6f315

Please sign in to comment.