[SNMP4J] SNMP4J v1.2RC
Gregor B. Rosenauer
gregor.rosenauer at siemens.com
Thu Mar 17 09:45:32 CET 2005
> * Changed: Log4J logging is now wrapped by the Apache
> commons logging to be more independent regarding the
> used logging framework.
Funny coincidence - I also thought about using Logging Commons, but then
discovered this article (written by the main contributor and guru of log4j):
See http://www.qos.ch/logging/thinkAgain.jsp
Quote: "If you opt for the commons-logging API, then the behavior of
your system will depend on external circumstances which you as a
developer cannot control. In general, /all solutions based on class
loading hacks are brittle and result in painful bugs/."
and:
"Since the primary goal of the commons-logging API is to discover and
use the logging framework that is available at runtime, it can only
cater for lowest common denominator of the different logging frameworks.
[..]by using the common-logging API you would be missing those extra
features"
So, for my standalone application, I'll access log4j directly.
However for SNMP4J, being a framework that might be used together with
different logging-APIs, Logging Commons may be worth the little overhead.
Just some food for thought, anyway...
Gregor
More information about the SNMP4J
mailing list