views:

334

answers:

1

I'm experimenting with Netbeans and JBoss and I'd like to print stuff on JBoss console from my code. Can I use log4j for that?

+1  A: 

Yes. Edit $JBOSS_HOME/server/[config]/conf/jboss-log4j.xml to add a category if you want to display lower than INFO (the default level).

[config] --> one of default, minimal, web, etc.

eqbridges