yep. this actually works :-) thanks Kent Narling wrote: > > I assume you mean to the console when you run maven on the command line, > or? > The default behaviour of maven is to just write to stdout, so if you > configure the log4j file to do so as well, then if you just configure a > CONSOLE appender in log4j your should get what you want? > > 2009/1/22 ez <[email protected]> > >> >> Well, I havn't.. >> So, i should just place log4j.properties file? how will i make it >> redirect >> all logs to maven output? >> >> >> Jaikiran wrote: >> > >> > >> > >> > ez wrote: >> >> >> >> instead i get this: >> >> log4j:WARN No appenders could be found for logger >> >> (com.i18n.Excel2Properties). >> >> log4j:WARN Please initialize the log4j system properly. >> >> >> > >> > The warning is because the log4j.properties or log4j.xml is not present >> in >> > the classpath. Where have you placed it? >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Getting-log4j-output-from-ANT-tasks-to-maven-output-tp21558678p21609797.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > Kent Närling > > System Architect > SEAMLESS > Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden > Phone: +46 8 5648 7800, fax: +46 8 5648 7823 > Mobile: +46 70 836 9925 > Mail: [email protected] > www.seamless.se > >
-- View this message in context: http://www.nabble.com/Getting-log4j-output-from-ANT-tasks-to-maven-output-tp21558678p21644450.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
