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?
-----Original Message-----
From: Shriver, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2008 3:14 PM
To: [email protected]
Subject: LogFilePatternReceiver not found in package
org.apache.log4j.varia
I'm trying to enable Chainsaw to display Java Utility Logging output
(as well as log4j output) as one of the libraries I use employs that
method of logging.
I'm getting a ClassNotFoundException for LogFilePatternReceiver and
indeed when I look in the package org.apache.log4j.varia I can't find a
LogFilePatternReceiver there.
Where do I get this code from?
I have put the oro regex stuff in my classpath (not sure if
LogFilePatternReceiver is still using it, but as it isn't present I've
got bigger problems).
java.lang.ClassNotFoundException:
org.apache.log4j.varia.LogFilePatternReceiver
[java] at
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
[java] at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:169)
[java] at
org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]