Dosen't look like the 1.1.3 xml configurator does the right thing with custom priorities, also looks like it can not set the CategoryFactory either.
=( --jason On Fri, 16 Nov 2001, Scott M Stark wrote: > > The priority is fine but the thread is not. As of log4j 1.1.3 the log4j.dtd > says is supports a priority class but I have not tried it. > > ----- Original Message ----- > From: "Jason Dillon" <[EMAIL PROTECTED]> > To: "Scott M Stark" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, November 16, 2001 10:45 AM > Subject: Re: [JBoss-dev] suggest changing log4j layout patterns > > > > How about at least adding the priority. I don't think that this info that > > will dump to console with this format is excesive, perhaps you might not > > want the thread name there. > > > > Do you know if we are still forced to use log4j.properties (instead of > > log4j.xml) due to the JBoss TRACE priority? > > > > --jason > > > > > > On Fri, 16 Nov 2001, Scott M Stark wrote: > > > > > The console output should be short and simple. In any production > > > envrionment your likely to not even be using it so its just for quick > looks > > > and I don't want excessive info displayed there. The default server.log > > > format can be more verbose. Its also trival to change these settings if > > > you know enough about log4j, so I would rather keep the defaults > > > simpler and let you change them for your specific need. > > > > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > Scott Stark > > > Chief Technology Officer > > > JBoss Group, LLC > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > ----- Original Message ----- > > > From: "Jason Dillon" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, November 15, 2001 4:09 PM > > > Subject: [JBoss-dev] suggest changing log4j layout patterns > > > > > > > > > > I suggest that we change the log4j layout patterns to add more useful > > > > information to the console and server.log files: > > > > > > > > For console: > > > > > > > > "%-5p %c{1} [%t] - %m%n" > > > > > > > > INFO JMXAdaptorService [main] - Starting > > > > DEBUG MailingPOEJB [Passivator Thread for MailingPO] - ejbPassivate > > > > > > > > For server.log: > > > > > > > > "%d %-5r %-5p %c [%t] (%x) - %m%n" > > > > > > > > 2001-11-13 11:35:32,210 2396 INFO org.jboss.util.Shutdown [main] > () - > > > Shutdown hook added > > > > 2001-11-13 11:35:36,576 6762 WARN > > > org.jboss.configuration.ConfigurationService [main] () - > > > Monitor:name=BeanCacheMonitor does not implement any Service methods > > > > > > > > * * * > > > > > > > > I have found that the extra information is very, very useful to debug > > > > components running inside of JBoss. The above puts the minimal amount > of > > > > useful information on the console in a terse format and dumps all > usefull > > > > information into server.log in a verbose format. > > > > > > > > I believe that users of JBoss would benifit from these settings by > default > > > > and I suggest that we update the log4j.properties (or use log4j.xml) > with > > > > these layout formats. > > > > > > > > Any objections? > > > > > > > > --jason > > > > > > > > > > > > _______________________________________________ > > > > Jboss-development mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > > > > _______________________________________________ > > > Jboss-development mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > _______________________________________________ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development