commit | b082588d2a46547ecda1af09127cf7655e436481 | [log] [tgz] |
---|---|---|
author | Ram Koya <rk541m@att.com> | Thu Aug 16 16:50:05 2018 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Thu Aug 16 16:50:05 2018 +0000 |
tree | 8127b80cbc33527450e0e6533431f5a322f8c00a | |
parent | 738e22da87b65c4168bba2c8ce51dcf7b1cce9f6 [diff] | |
parent | 355b66b9d95ff73902fbc43207fa08013776b9c2 [diff] |
Merge changes Ie8852caf,I9e9d1156 * changes: Sonar major issues Sonar major 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