Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Formatting console output (Log) JBoss AS 7.1.0

 
Rodrigo Sasaki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I'd like to know if there's a way to format the console output on JBoss AS 7.1.0. Let me exemplify:

The default console output looks like this:



I was wondering if there's a way to make it look something like this:



or any other format.. I know it might be a bad idea.. but people in my team are asking me, and I really don't know if it can't be done.

Thanks! ;)

 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Stop your server.

2) Edit the file <JBOSS_7_HOME>/standalone/configuration/standalone.xml:

Change the line



to



3) Start your server.

Note, if your application defines its own logging configuration and it is correctly placed on the classpath, this will be used rather than the 'default' defined in standalone.xml.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic