Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Data Collector currently uses Log4J 1.2 as the logging backend. It doesn't directly support what you're trying to do. However, it is possible to use a third party library. You would just need to add this jar to the api-lib directory for your Data Collector, and then use a configuration similar to the one shown there.

In the meantime, watch the SDC-14498 Jira. If and when Data Collector switches to Log4J 2, then JSON layout would be built-in and more easily available.