You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Mike Brodhead <mk...@black-ice.org> on 2001/12/20 21:15:01 UTC
Re: Weblogic T3Connection Appender?
> I see that log4j will give much flexibility in the future, but for
> me to change each file, it will have to be over time.
I had this same problem. About 900 of the classes in my app were calling
the old logging system. That added up to a few thousand log calls to
change, plus constructors, etc.
I wrote a Perl program to search through the app for classes that
called our existing logger and switch the logging calls over to Log4j.
I could just as well have written it in Java, but for my money Perl is
the tool of choice for small, text-munging tasks like this.
If changing your code programatically looks like an option for you,
then we can discuss it further. I can go into some of the pitfalls,
etc.
--mkb
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>