At 12:36 PM 10/11/2004, you wrote:
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)

I thought my previous was factual, a little curt but factual. I did not mean to offend nor shoot the messenger.


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?

Yes, indeed.

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

Also correct.

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 /
+------//-------------------+

-- 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to