You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/10/22 03:41:49 UTC

DO NOT REPLY [Bug 19133] - org.apache.log4j.Category is deprecated

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19133>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19133

org.apache.log4j.Category is deprecated

dlr@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|1.4                         |1.5



------- Additional Comments From dlr@apache.org  2003-10-22 01:41 -------
I committed the following to CVS HEAD, which is now the 1.5 branch:


Replaced Log4J's deprecated Category class with Logger.

* TODO.txt
  Removed the "Drop use of Log4J Category class" item.


* build/lib/log4j-1.1.3.jar
* build/lib/log4j-core-1.1.3.jar
  Removed by upgrade from Log4J 1.1.3 to Log4J 1.2.8.


* build/lib/log4j-1.2.8.jar
  Added for update from Log4J 1.1.3 to Log4J 1.2.8.


* src/java/org/apache/velocity/runtime/log/Log4JLogSystem.java
* src/java/org/apache/velocity/runtime/log/SimpleLog4JLogSystem.java
  Update from the deprecated Log4J Category class to the Logger class.
  Removal of Category from Log4J is pending.

  Sub-classes will have to replace their references with Category
  with Logger, and Category.getInstance() with Logger.getLogger().

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