RE: [logging] Thanks All...

Ceki Gülcü <[email protected]>
Newsgroups gmane.comp.jakarta.log4j.devel,gmane.text.xml.commons.devel,gmane.comp.jakarta.velocity.devel
Message-ID <[email protected]>
At 06:34 PM 5/20/2004, Noel J. Bergman wrote:
> > ( Let's hope some Velocity folk can help out next:
>
>Shouldn't:
>
>     [javac]
>/data3/gump/jakarta-velocity/bin/src/org/apache/velocity/runtime/log/SimpleL
>og4JLogSystem.java:119: cannot resolve symbol
>     [javac] symbol  : method setPriority (org.apache.log4j.Level)
>     [javac] location: class org.apache.log4j.Category
>     [javac]         logger.setPriority(Priority.DEBUG);
>
>have been fixed on the Logging side?

This one is easy. setPriority was marked as deprecated. See

http://logging.apache.org/log4j/docs/api/org/apache/log4j/Category.html#setPriority(org.apache.log4j.Priority)

or in tinyURL speak

   http://tinyurl.com/3b5vh

I hope this answers the question.

>         --- Noel

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.