On Monday 11 October 2004 18:04, Ceki Gülcü wrote:
> Hello Niclas,
>
> Just look at the docs:
>
>   http://logging.apache.org/log4j/docs/api/org/apache/log4j/Priority.html

Please don't beat up (kill?) the messenger ;o)

cannot resolve symbol
symbol  : method toPriority (java.lang.String,org.apache.log4j.Level)
location: class org.apache.log4j.Priority

It says the method doesn't exist, which Gump compiles against the HEAD Log4J 
source.
And since it do exist in the javadoc, 
public static Priority toPriority(String sArg,
                                  Priority defaultPriority)
I assume this is a deprecation removal going on. Is that correct?

And the fix looks like;
    log.setLevel( Level.toLevel( logLevel, Level.WARN ) );


Cheers
Niclas

P.S.  Eyebrowse guys, this is about
org/tigris/eyebrowse/util/EyebrowseLogger.java:108 which has a compile error 
against the latest Log4J sources.

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to