logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject Re: [GUMP] Various log4j related breakages
Date Wed, 05 Sep 2001 06:19:19 GMT
Ceki Gülcü wrote:
>
> This is in Turbine-3, jakarta-slide builds fine, am I correct?

Sorry, both fail for me.  Here's more details:

Slide:

   wrappers:
       [javac] Compiling 5 source files to D:\jakarta\jakarta-slide\build\classes
       [javac] D:\jakarta\jakarta-slide\src\wrappers\log4j\Log4jLogger.java:104: Incompatible
type for method. Explicit cast needed to convert
   org.apache.log4j.Priority to org.apache.log4j.Level.
       [javac]         cat.setPriority(priority);
       [javac]                         ^
       [javac] D:\jakarta\jakarta-slide\src\wrappers\log4j\Log4jLogger.java:124: Note: The
method org.apache.log4j.Level getPriority() in class
   org.apache.log4j.Category has been deprecated.
       [javac]         return fromPriority(cat.getPriority());
       [javac]                                            ^
       [javac] D:\jakarta\jakarta-slide\src\wrappers\log4j\Log4jLogger.java:153: Incompatible
type for method. Explicit cast needed to convert
   org.apache.log4j.Priority to org.apache.log4j.Level.
       [javac]             cat.log(toPriority(level), data, (Throwable)data);
       [javac]                               ^
       [javac] D:\jakarta\jakarta-slide\src\wrappers\log4j\Log4jLogger.java:155: Incompatible
type for method. Explicit cast needed to convert
   org.apache.log4j.Priority to org.apache.log4j.Level.
       [javac]             cat.log(toPriority(level), data);
       [javac]                               ^
       [javac] D:\jakarta\jakarta-slide\src\wrappers\log4j\Log4jLogger.java:191: Incompatible
type for method. Explicit cast needed to convert
   org.apache.log4j.Priority to org.apache.log4j.Level.
       [javac]         return cat.isEnabledFor(toPriority(level));
       [javac]                                           ^
       [javac] Note: D:\jakarta\jakarta-slide\src\wrappers\log4j\Log4jLogger.java uses or
overrides a deprecated API.  Please consult the
   documentation for a better alternative.
       [javac] 4 errors, 1 warning

Turbine-3:

   compile:
       [javac] Compiling 58 source files to D:\jakarta\jakarta-turbine-3\bin\classes
       [javac] D:\jakarta\jakarta-turbine-3\bin\src\org\apache\turbine\Log.java:111: cannot
resolve symbol
       [javac] symbol  : method getCurrentCategories  ()
       [javac] location: class org.apache.log4j.Hierarchy
       [javac]             Category.getDefaultHierarchy().getCurrentCategories();
       [javac]                                         ^
       [javac] Note: Some input files use or override a deprecated API.
       [javac] Note: Recompile with -deprecation for details.
       [javac] 1 error

- Sam Ruby


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


Mime
View raw message