Note that there are some explanatory texts on larger screens.

plurals
  1. POLogback / Weblogic How to set different log level?
    primarykey
    data
    text
    <p>I am using Weblogic 10.3.6 and I am not able to control different log level for 2 different appenders (com.my &amp; root) With the given logback.xml I am expecting a TRACE level only for the file appender and nothing under weblogic terminal. Issue is I get the same output on both.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!-- For assistance related to logback-translator or configuration --&gt; &lt;!-- files in general, please contact the logback user mailing list --&gt; &lt;!-- at http://www.qos.ch/mailman/listinfo/logback-user --&gt; &lt;!-- --&gt; &lt;!-- For professional support please see --&gt; &lt;!-- http://www.qos.ch/shop/products/professionalSupport --&gt; &lt;!-- --&gt; &lt;configuration&gt; &lt;contextName&gt;myContx&lt;/contextName&gt; &lt;jmxConfigurator /&gt; &lt;appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender"&gt; &lt;!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender--&gt; &lt;File&gt;/var/log/a.log&lt;/File&gt; &lt;encoder&gt; &lt;pattern&gt;%d{HH:mm:ss.SSS} %5p %c{1}:%L - %m%n&lt;/pattern&gt; &lt;/encoder&gt; &lt;rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"&gt; &lt;maxIndex&gt;1&lt;/maxIndex&gt; &lt;FileNamePattern&gt;/var/log/a.log.%i&lt;/FileNamePattern&gt; &lt;/rollingPolicy&gt; &lt;triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"&gt; &lt;MaxFileSize&gt;1MB&lt;/MaxFileSize&gt; &lt;/triggeringPolicy&gt; &lt;/appender&gt; &lt;appender name="out" class="ch.qos.logback.core.ConsoleAppender"&gt; &lt;layout class="ch.qos.logback.classic.PatternLayout"&gt; &lt;pattern&gt;%-4relative [%thread] %-5level %class - %msg%n&lt;/pattern&gt; &lt;/layout&gt; &lt;/appender&gt; &lt;logger name="com.my" level="trace"&gt; &lt;appender-ref ref="file" /&gt; &lt;/logger&gt; &lt;root level="off"&gt; &lt;appender-ref ref="out" /&gt; &lt;/root&gt; &lt;/configuration&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload