On May 30, 2008, at 11:59 AM, Shriver, Daniel wrote:

I've finally found that the LogFilePatternReceiver is in a separate
bundle ("receivers") that oddly has the same package structure as
log4j.  Unfortunately when I try to build it maven spits out an error
saying:

 Missing:
 ----------
 1) log4j:apache-log4j-component:jar:1.0-SNAPSHOT

1) where do I get this from?
2) why aren't the receivers included in with the standard log4j code?
3) why is it looking for a 1.0 version?


1) Download source from http://svn.apache.org/repos/asf/logging/log4j/companions/component/trunk , do mvn install to build and install to local maven repository. Neither the component or receivers companions for log4j have been formally released.

2) The receivers were backported from the discontinued log4j 1.3 development branch and adapted to work with log4j 1.2 and packaged as a companion to log4j 1.2. Most log4j 1.2 users have no need for the receivers and adding them to the log4j 1.2 jar just bloats the jar size. Those who do need them can just add the companion jar to their class path.

3) The component companion is a backport of the log4j 1.3 component model and is provided as a bridge for code originally designed for log4j 1.3 to work with log4j 1.2. It has not been formally released (which would be 1.0), so the reference is to a SNAPSHOT in the development of 1.0.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to