Products | Versions |
---|---|
TIBCO Streaming | 10.6 and later |
A TIBCO Streaming/LiveView application requires multiple custom logging configurations, each to be used in different environments/scenarios. How can the correct logging configuration be specified when installing the node?
C:/logconfigs/info/logback.xml C:/logconfigs/debug/logback.xml C:/logconfigs/trace/logback.xmlThen in your node install command, specify the appropriate directory using the deploydirectories option. For example..
epadmin install node nodename=your.node nodedirectory=nodes application=app-archive.zip deploydirectories=C:/logconfigs/debug/This will ensure that the logback.xml stored in C:/logconfigs/debug will be selected as your custom logging configuration. You can confirm this is working properly by searching the resulting console output for a message like..
[main] INFO com.tibco.ep.dtm.lifecycle - Using user-specified Logback configuration class path resource "logback.xml" at file:/C:/logconfigs/debug/logback.xml