How to surpress output from JBoss console

  • 3605403
  • 27-Oct-2006
  • 26-Apr-2012

Environment

Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows XP Professional Windows XP Professional Support Pack 1
Microsoft Windows XP Professional Windows XP Professional Support Pack 2
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Server 9
Novell exteNd JBoss Application Server
Novell exteNd JBoss Application Server 4.0.2
Novell exteNd JBoss Application Server 4.0.1
Novell exteNd JBoss Application Server 4.0.3

Situation

JBoss sends startup and execution messages to both the JBoss console and to a file.
Is it possible to surpress the output to the JBoss console?

Resolution

To disable the output to the console, edit the log4j.xml file in the server//conf directory.
1. Stop JBoss
2. Open the log4j.xml file
3. Search for the string "Setup the Root Category"
4. comment out the line
for exanple
5. Restart JBoss
NOTE: You can also disable logging to a file but commenting out the "FILE" line.
For examle:

Feedback service temporarily unavailable. For content questions or problems, please contact Support.