<div dir="ltr">Team,<div><br></div><div>I am facing one error with my evaluator filter. I included SLFJ-API(1.7.25), logback-core, logback-classic (1.2.3) jars. Also added janino jar (3.1.1).</div><div><br></div><div>In my logback.xml file belowis what I wrote.</div><div><appender name="syslogappender" class="ch.qos.logback.classic.net.SyslogAppender"></div><div><filter class=ch.qos.logback.core.filter.EvaluatorFilter"></div><div><evaluator></div><div><expression></div><div>if (level == ERROR && formattedMessage.contains("NullPointerException") ) {</div><div>return true;</div><div>}</div><div>return false;</div><div></expression></div><div></div><div></evaluator></div><div> <onMismatch> NEUTRAL</onMismatch></div><div><onMatch>ACCEPT</onMatch> <br></div><div></filter></div><div></appender></div><div><br></div><div>and I amhaving sysloghost, facility and suffixpattern tags as well passed in the above appender.</div><div><br></div><div>my logger for the above appender is </div><div><logger additiity=false level="INFO"></div><div><appender-ref ref="
syslogappender></div><div></logger></div><div><root></div><div><level value="INFO" /></div><div><appender-ref ref="syslogappender"</div><div></root></div><div><br></div><div>with this above, Iam deploying my app to IBM Mainframe WAS server. During deployment I am getting below error.</div><div>org.codehaus.commons.compiler.CompileException a class ch.qos.logback.classic.Level could not be found.</div><div><br></div><div>Please help me how to correct this issue.</div><div><br></div><div>Thanks.</div></div>