i'm not sure if i understand what you want to do but i see 2 possibilities:
- have only one log4jconfig and in that define a separat console appender and let the castor packages log to this (additivity=fasle) - do the same configuration from within your code cheers patrick > -----Ursprüngliche Nachricht----- > Von: Karr, David [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 21. Februar 2007 23:47 > An: Log4J Users List > Betreff: How to set command line so log4j logs everything to console > > > I have a custom version of the Maven 1.0.2 Castor taglib. In this, I > need to set log4j properties so that everything just logs straight to > the console. I'd really like to avoid having a separate > log4j.properties file. I'd rather just set everything I need on the > command line, with "-D" properties. Is this practical? > > --------------------------------------------------------------------- > 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]
