[jboss-cvs] JBossAS SVN: r103704 - projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Apr 8 11:43:17 EDT 2010
Author: smcgowan at redhat.com
Date: 2010-04-08 11:43:16 -0400 (Thu, 08 Apr 2010)
New Revision: 103704
Modified:
projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/Server.java
Log:
JBASM-36
Modified: projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/Server.java
===================================================================
--- projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/Server.java 2010-04-08 14:57:23 UTC (rev 103703)
+++ projects/server-manager/trunk/src/main/java/org/jboss/jbossas/servermanager/Server.java 2010-04-08 15:43:16 UTC (rev 103704)
@@ -136,6 +136,12 @@
/** the log threshold for the server */
private String logThreshold = null;
+ /** Property to set the server log Threshold **/
+ public final static String SVR_LOG_PROP = "jboss.server.log.threshold";
+
+ /** Property to set the boot log Threshold **/
+ public final static String BOOT_LOG_PROP = "jboss.boot.server.log.level";
+
/**
* Get the name.
*
@@ -332,7 +338,8 @@
*/
public String getLoggingProperty()
{
- return "-Djboss.server.log.threshold=" + getLogThreshold();
+ String level = getLogThreshold();
+ return "-D" + SVR_LOG_PROP + "=" + level + " " + "-D" + BOOT_LOG_PROP + "=" + level;
}
/**
More information about the jboss-cvs-commits
mailing list