| Products | Versions |
|---|---|
| TIBCO Streaming | 10 |
Some warnings or errors reported in the Streaming engine log include Java stack-traces which are not needed because the occasional problems are expected and only the first line is needed.
How can I prevent long stack-traces from cluttering the log and interfering with log monitoring tools?
<appender name="RootConsoleAppender" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd-HH:mm:ss.SSS} [%-5level] %logger{35}%ex{1} - %msg%n</pattern>
</encoder>
</appender>
When a message would include a stack trace, this limits stack output to one line for each message.