> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Deadman, Hal > Sent: Wednesday, April 14, 2004 4:13 PM > To: [EMAIL PROTECTED] > Subject: RE: [Middlegen-user] log4j:WARN No appenders could > be found for logger (middlegen.Middlegen). > > > Is log4j.properties or log4j.xml in your classpath?
Duh! No, it was not. I had moved it to top level. Put it in the lib classpath by adding an <include name="*.properties"/>. Probably not the best thing to do (anyone know where it should hang out?) Works like a charm now :) Thanks to you both for prompt replies. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Ray Tayek > Sent: Wednesday, April 14, 2004 6:58 PM > To: [EMAIL PROTECTED] > Subject: [Middlegen-user] log4j:WARN No appenders could be > found for logger (middlegen.Middlegen). > > > Hi, newbie here. Trying to hack up the middlegen sample > project so that it just does middlegen for hibernate (not > hvn2java) and only has the jars that I need. It works fine, > reverses and makes the hibername mapping files. Except that its says: > > middlegen: > [echo] Class path = U:\projects\mg0\samples > [middlegen] log4j:WARN No appenders could be found for > logger (middlegen.Middlegen). > [middlegen] log4j:WARN Please initialize the log4j system properly. > .... ... ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
