commit | eda560de59c1734b82f73bada49bd18f64182c99 | [log] [tgz] |
---|---|---|
author | varun gudisena <vg411h@att.com> | Fri Sep 22 23:59:18 2017 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Fri Sep 22 23:59:18 2017 +0000 |
tree | 249f3895cb7700fc2e083eecc08de77044f0c6ca | |
parent | 55fa3468e3877f19aef0ce24d21c3b975de23a77 [diff] | |
parent | 220dd2217a9697e9bc274c0d8d2c1df1e14a65be [diff] |
Merge "Fix for Sonar critical issues"
To configure a MR Log4J appender the following parameters are available:
(R) Topic [String] - The topic which you wish to publish your log messages to (R) Partition [String]- The partition within the Topic that you wish you publish your log messages to (R) Hosts [String]- A comma separated string containing the MR API server nodes you wish to connect to (O) MaxBatchSize [Integer] - The maximum size of the batch of log messages. When the batch grows larger than this, the messages are flushed to the topic/partition. (O) MaxAgeMs [Integer] - The maximum age in milliseconds of the batch. When the batch age is older than this, the messages are flushed to the topic/partition. (O) Compress [Boolean] - Indicates whether you would like your messages compressed or not.
An example can be found in ./src/main/resources/log4j.xml