Store each custom logback configuration in its own directory on the system. For example..
C:/logconfigs/info/logback.xml
C:/logconfigs/debug/logback.xml
C:/logconfigs/trace/logback.xml
Then 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