First try different logging levels. You went from debug, which prints everything, to error, which prints very little (only fatal produces less.) Try info. Also, look at your log4j.properties. In a production environment, I would suggest the DailyRollingFileAppender and ConsoleAppender if you want it. Note that you can have different settings for each appender. So you can have debug for your file appender and fatal for your console appender.
Finally, after setting log4j.properties how you want it, take a look at jboss.jcml. Some components can have their messaging fine-tuned. For example, XADataSourceLoader has setting for LoggingEnabled. Setting it to true will turn on more detailed logging, setting it to false will give less logging. ----- Original Message ----- From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, November 02, 2001 1:04 PM Subject: [JBoss-user] Log4j HELP! > Can anyone give me a quick ramp up for how to configure log4j with jboss. > > I have been messing around with it and I can't quite figure it out. > > > For instance I while back I wanted to remove all the extraneous messages > from jboss and I got input that if I made the following change... > log4j.rootCategory=DEFAULT, DEBUG, Console ---> > log4j.rootCategory=ERROR, Console > > > But the problem is that this hosed everything, for instance I no longer get > verifier messages. > I was curious how I can get a little more fine grained control. > > 1) My main goal is to reduce the ammount that is printed at deployment and > run. > For instance.... I would like messages from J2EE Deployer Default, > Verifier, AutoDeployer > But the 3000 messages that print out saying "loading security > manager" are a pain in the neck > 2) I would like to be able to add traces to the logs, but that seems to not > work > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
