Details

      Description

      When trying create mdc sift appender in portal-log4j-ext.xml :

      <appender name="SIFT" class="org.apache.log4j.sift.MDCSiftingAppender">
              	<param name="key" value="id" />
      	        <param name="default" value="empty-id" />	
            		<appender-ref ref="T"/>
      </appender>

      we get next exception:

      log4j:WARN Continuable parsing error 33 and column 13
      log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,rollingPolicy?,triggeringPolicy?,connectionSource?,layout?,filter*,appender-ref*)".
      log4j:ERROR Could not create an Appender. Reported error follows.
      java.lang.ClassNotFoundException: org.apache.log4j.sift.MDCSiftingAppender
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:171)
              at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198)
              .....
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mika.koivisto Mika Koivisto
                Reporter:
                mihail.zheludev Mihail Zheludev (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 34 weeks, 5 days ago