You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2006/02/12 17:34:54 UTC
svn commit: r377201 -
/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
Author: rdonkin
Date: Sun Feb 12 08:34:53 2006
New Revision: 377201
URL: http://svn.apache.org/viewcvs?rev=377201&view=rev
Log:
Added quotes to diagnostic messages.
Modified:
jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java?rev=377201&r1=377200&r2=377201&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java (original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java Sun Feb 12 08:34:53 2006
@@ -831,18 +831,18 @@
*/
private String findUserSpecifiedLogClassName()
{
- logDiagnostic("Trying to get log class from attribute " + LOG_PROPERTY);
+ logDiagnostic("Trying to get log class from attribute '" + LOG_PROPERTY + "'");
String specifiedClass = (String) getAttribute(LOG_PROPERTY);
if (specifiedClass == null) { // @deprecated
- logDiagnostic("Trying to get log class from attribute " +
- LOG_PROPERTY_OLD);
+ logDiagnostic("Trying to get log class from attribute '" +
+ LOG_PROPERTY_OLD + "'");
specifiedClass = (String) getAttribute(LOG_PROPERTY_OLD);
}
if (specifiedClass == null) {
- logDiagnostic("Trying to get log class from system property " +
- LOG_PROPERTY);
+ logDiagnostic("Trying to get log class from system property '" +
+ LOG_PROPERTY + "'");
try {
specifiedClass = System.getProperty(LOG_PROPERTY);
} catch (SecurityException e) {
@@ -851,8 +851,8 @@
}
if (specifiedClass == null) { // @deprecated
- logDiagnostic("Trying to get log class from system property " +
- LOG_PROPERTY_OLD);
+ logDiagnostic("Trying to get log class from system property '" +
+ LOG_PROPERTY_OLD + "'");
try {
specifiedClass = System.getProperty(LOG_PROPERTY_OLD);
} catch (SecurityException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org