-
1. Re: *really beginner* questions on jboss configuration
jaikiran Jul 30, 2010 6:55 AM (in response to lylex)Lyle,
Welcome to the forums.
Lyle Ryan wrote:
Our Solaris system is running jboss-4.2.3.GA
I want to reduce some of our logging from DEBUG leve and have found the jboss-log4j.xml file. Are configurations like this managed by directly editing the text file, or should it all be done through a web interface?
AS-4.x did not have an admin console. AS-5 does have one. However, for changes like this, the usual approach is to edit the file in a text editor. Even the new admin console in AS-5 doesn't have an option to change this file at runtime (and persist those changes on server restart). So yes, editing it in a text editor is fine.
Lyle Ryan wrote:
Any pointers to a starting point in the documentation for a SysAdmin without a lot of java knowledge would be appreciated.
This might be good start https://community.jboss.org/wiki/JBossApplicationServerOfficialDocumentationPage. I don't know about JBoss AS-4, but for JBoss AS-5, there's JBoss In Action book http://www.manning.com/jamae/
-
2. Re: *really beginner* questions on jboss configuration
welle Aug 12, 2010 10:53 AM (in response to lylex)Hi
The correct way is to edit the file (as already answered).
Here is a quick solution (if you haven't had the time to read the documentation on JBoss AS and/or log4j)
Add the following row to the FILE appender in "jboss-log4j.xml" file:
<param name="Threshold" value="INFO"/>
(Compare with the CONSOLE appender that already has this setup)
PS. You probably also want to set "Append" to true! DS.