axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Pelegri-Llopart <Eduardo.Pelegrillop...@Sun.COM>
Subject Re: Logging
Date Wed, 09 May 2001 22:55:50 GMT
Merlin has a logging API in it.  I thikn it is not too different from
log4j but I belive that log4j does not implement it.  If that is
correct, I think that (2) seems a better solution.

	- eduard/o

Glen Daniels wrote:
> 
> How do people feel about log4j? (http://jakarta.apache.org/log4j)
> 
> I'd like to replace the system we have now with something more real, and get
> all the System.out.printlns() and System.err.println()s out of the code.  I see
> two ways of doing this:
> 
> 1) Delete the Debug class and the println()s.  Integrate log4j directly.
> 
> +: We get all of log4j's considerable functionality everywhere
> +: It's as fast as can be
> +: A lot of people are using this, so we'll likely integrate well
> -: There's another jar we need to depend on
> 
> 2) Replace the Debug class with a logging interface, and create a log4j
> implementation of this interface, plus perhaps a simple "to console"
> implementation.
> 
> +: Allows building without log4j
> +: Allows plugging in other logging systems
> -: We need to do the work to define the interfaces well
> -: Adds virtual function call overhead, decreasing performance
> 
> Opinions / comments?
> 
> --Glen

Mime
View raw message