logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: build.chainsaw failed
Date Mon, 10 May 2004 15:35:29 GMT
Heinrich,

This error is less than 24 hours old. In the LoggingEvent class, the MDC 
field has been merged into properties field. We did not have the time to 
correct the problem yet but it will be corrected soon. Sorry for the hassle.

At 03:49 PM 5/10/2004, Heinrich Götzger wrote:
>Hi,
>
>I just did an update of log4j cvs to use chainsaw, but unfortunately, it
>won't compile:
>
>build.chainsaw:
>     [javac] Compiling 97 source files to
>/home/goetzger/chainsaw/jakarta-log4j/dist/classes
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:409:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]         return
>event.getMDC(columnNames.get(columnIndex).toString());
>     [javac]                     ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:417:
>cannot resolve symbol
>     [javac] symbol  : method getMDCKeySet ()
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]     if (event.getMDCKeySet().size() == 0) {
>     [javac]              ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:421:
>cannot resolve symbol
>     [javac] symbol  : method getMDCKeySet ()
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]     Iterator iter = event.getMDCKeySet().iterator();
>     [javac]                          ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:430:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]       mdc.append(event.getMDC(key.toString()));
>     [javac]                       ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:486:
>cannot resolve symbol
>     [javac] symbol  : method getMDCKeySet ()
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]     boolean newColumn =
>uniqueMDCKeys.addAll(e.getMDCKeySet());
>     [javac]                                               ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:492:
>cannot resolve symbol
>     [javac] symbol  : method getMDCKeySet ()
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]       for (Iterator iter = e.getMDCKeySet().iterator();
>iter.hasNext();) {
>     [javac]                             ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java:500:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]               this, columnNames.indexOf(key), key,
>e.getMDC(key.toString())));
>     [javac]                                                     ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/filter/FilterModel.java:39:
>cannot resolve symbol
>     [javac] symbol  : method getMDCKeySet ()
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]     eventContainer.addMDCKeys(event.getMDCKeySet());
>     [javac]                                    ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ColumnComparator.java:161:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]           if (e1.getMDC(columnName) != null &&
>e2.getMDC(columnName) != null) {
>     [javac]                 ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ColumnComparator.java:161:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]           if (e1.getMDC(columnName) != null &&
>e2.getMDC(columnName) != null) {
>     [javac]                                                  ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ColumnComparator.java:162:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]               sort =
>e1.getMDC(columnName).toString().compareToIgnoreCase(e2.getMDC(columnName).toString());
>     [javac]
>^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ColumnComparator.java:162:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]               sort =
>e1.getMDC(columnName).toString().compareToIgnoreCase(e2.getMDC(columnName).toString());
>     [javac]                        ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/rule/RuleTest.java:146:
>cannot resolve symbol
>     [javac] symbol  : method getMDCKeySet ()
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]             Iterator iter3 = event.getMDCKeySet().iterator();
>     [javac]                                   ^
>     [javac]
>/home/goetzger/chainsaw/jakarta-log4j/src/java/org/apache/log4j/rule/RuleTest.java:153:
>cannot resolve symbol
>     [javac] symbol  : method getMDC (java.lang.String)
>     [javac] location: class org.apache.log4j.spi.LoggingEvent
>     [javac]               mdc.append(event.getMDC(mdcKey));
>     [javac]                               ^
>     [javac] 14 errors
>
>
>Is this a known error?
>What can I do to make it work?
>
>My java is:
>$ java -version
>java version "1.4.2_04"
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
>Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
>
>
>Thanks
>
>Heinrich
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message