Looking at http://people.apache.org/~psmith/logging.apache.org/sandbox/jul-log4j-bridge/examples.html I tried adding: <plugin name="julreceiver" class="org.apache.log4j.jul.JULReceiver" /> but I get: log4j: Using URL [file:/C:/Tomcat/lib/log4j.xml] for automatic log4j configuration. log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator log4j: System property is :null log4j: Standard DocumentBuilderFactory search succeded. log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl log4j:WARN Continuable parsing error 132 and column 23 log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,plugin*,(category|logger)*,root?,(categoryFactory|loggerFactory)?)". log4j: debug attribute= "true". log4j: reset attribute= "false". log4j: Threshold ="null". log4j:WARN Unrecognized element plugin
I am using log4j 1.2.15 and apache-jul-log4j-bridge-1.0.0-20080915.045446-7.jar James A. N. Stauffer http://jamesjive.blogspot.com Are you good? Take the test at http://www.livingwaters.com/good/ On Tue, Jun 19, 2007 at 5:08 PM, Paul Smith <[email protected]> wrote: > The SVN checkout url is here: > > http://svn.apache.org/repos/asf/logging/sandbox/jul-to-log4j-bridge/ > > It does rely on the latest 1.2.15 snapshot. The dependency snapshot > identifiers have recently changed, so I've just updated them. > > Please try the latest trunk version (revision 548865). There is one unit > test that does appear to fail under mvn, but not under eclipse, so building > it requires: > > mvn package -Dmaven.test.skip=true > > Let me know if it helps you. > > cheers, > > Paul > > On 20/06/2007, at 7:40 AM, Scott Deboy wrote: > >> Sorry..try this one: >> >> http://svn.apache.org/viewvc/logging/sandbox/jul-to-log4j-bridge/ >> >> >> Scott Deboy >> Principal Engineer >> COMOTIV SYSTEMS >> 111 SW Columbia Street Ste. 950 >> Portland, OR 97201 >> Office: 503.224.7496 >> Direct Line: 503.821.6482 >> Cell: 503.997.1367 >> Fax: 503.222.0185 >> [email protected] >> www.comotivsystems.com >> >> >> -----Original Message----- >> From: James Stauffer [mailto:[email protected]] >> Sent: Tuesday, June 19, 2007 2:22 PM >> To: Log4J Users List >> Subject: Re: JDK logging appender that sends events to log4j >> >> That appears to be the reverse of my idea. >> >> On 6/19/07, Scott Deboy <[email protected]> wrote: >>> >>> A recent contribution: >>> >>> http://issues.apache.org/bugzilla/show_bug.cgi?id=42664 >>> >>> Looks like a great idea to me. >>> >>> Scott Deboy >>> Principal Engineer >>> COMOTIV SYSTEMS >>> 111 SW Columbia Street Ste. 950 >>> Portland, OR 97201 >>> Office: 503.224.7496 >>> Direct Line: 503.821.6482 >>> Cell: 503.997.1367 >>> Fax: 503.222.0185 >>> [email protected] >>> www.comotivsystems.com >>> >>> >>> -----Original Message----- >>> From: James Stauffer [mailto:[email protected]] >>> Sent: Tuesday, June 19, 2007 2:07 PM >>> To: Log4J Users List >>> Subject: JDK logging appender that sends events to log4j >>> >>> Has anyone made a JDK logging appender that sends events to log4j? >>> >>> This would achieve much the same benefit of commons-logging without >>> any extra downloads when log4j isn't used. >>> >>> I.e. I would like to use JDK logging on the client and log4j on the >>> server. >>> >>> -- >>> James Stauffer http://www.geocities.com/stauffer_james/ >>> Are you good? Take the test at http://www.livingwaters.com/good/ >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> James Stauffer http://www.geocities.com/stauffer_james/ >> Are you good? Take the test at http://www.livingwaters.com/good/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > Paul Smith > Core Engineering Manager > > Aconex > The easy way to save time and money on your project > > 696 Bourke Street, Melbourne, > VIC 3000, Australia > Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 > Email: [email protected] www.aconex.com > > This email and any attachments are intended solely for the addressee. The > contents may be privileged, confidential and/or subject to copyright or > other applicable law. No confidentiality or privilege is lost by an > erroneous transmission. If you have received this e-mail in error, please > let us know by reply e-mail and delete or destroy this mail and all copies. > If you are not the intended recipient of this message you must not > disseminate, copy or take any action in reliance on it. The sender takes no > responsibility for the effect of this message upon the recipient's computer > system. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
