See logback.example.xml for example config
Parameter | Description | Default |
---|---|---|
|
Connection destination address |
127.0.0.1 |
|
Connection destination port |
601 |
|
Enables structured data containing uuid and source information |
true |
|
Stream application identifier. Maximum length of 48 characters, limited by RFC5424 |
jla-01 |
|
Stream host identifier. Maximum length of 255 characters, limited by RFC5424 |
localhost.localdomain |
|
Time to wait before timing out connection in milliseconds |
2500 |
|
Time to wait between re-connection attempts in milliseconds |
500 |
|
Time to wait for destination to accept data in milliseconds |
1500 |
|
Time to wait for destination to acknowledge sent data (low values cause duplicates) in milliseconds |
1500 |
|
Enables sending alive packets. |
true |
|
Reconnects before sending message if at least X milliseconds have passed since last message. Set to 0 to turn off automatic reconnections. |
150000 |
|
Start one connection initially at appender start. Allows detection of configuration mistakes early. |
false |
|
Rebind RELP connection after |
true |
|
Rebind after this amount of records sent if |
100000 |
|
Allows only one thread at a time to append, therefore uses only one connection. |
false |
|
Use TLS instead of a plain text connection. |
false |
|
Path to Java keystore that includes the CA certificate for the TLS connection |
/unset/path/to/keystore |
|
Keystore password for the keystore defined in |
These instructions are untested but should work none the less. jla_01-1.0.5-jboss-modules.jar contains logback appender for jboss as jboss-module. For generic information about jboss modules, see https://jboss-modules.github.io/jboss-modules/manual/
Copy the jar into $EAP_HOME/modules.
Include module by using following convetion to target module.xml (which may be quite many).
<?xml version="1.0" encoding="UTF-8"?>
<module ...>
<.../>
<dependencies>
<module name="com.teragrep.jla_01"/>
</dependencies>
<.../>
</module>
One may wish to add this as a global module according to following link in order to avoid multiple inclusions: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html-single/configuration_guide/index#add_a_global_module
You can involve yourself with our project by opening an issue or submitting a pull request.
Contribution requirements:
-
All changes must be accompanied by a new or changed test. If you think testing is not required in your pull request, include a sufficient explanation as why you think so.
-
Security checks must pass
-
Pull requests must align with the principles and values of extreme programming.
-
Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).
Read more in our Contributing Guideline.
Contributors must sign Teragrep Contributor License Agreement before a pull request is accepted to organization’s repositories.
You need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep’s repositories.