1
0

Added quotes to diagnostic messages.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2006-02-12 16:34:53 +00:00
parent a62f12925f
commit 5d1fcf3662

View File

@@ -831,18 +831,18 @@ public class LogFactoryImpl extends LogFactory {
*/ */
private String findUserSpecifiedLogClassName() 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); String specifiedClass = (String) getAttribute(LOG_PROPERTY);
if (specifiedClass == null) { // @deprecated if (specifiedClass == null) { // @deprecated
logDiagnostic("Trying to get log class from attribute " + logDiagnostic("Trying to get log class from attribute '" +
LOG_PROPERTY_OLD); LOG_PROPERTY_OLD + "'");
specifiedClass = (String) getAttribute(LOG_PROPERTY_OLD); specifiedClass = (String) getAttribute(LOG_PROPERTY_OLD);
} }
if (specifiedClass == null) { if (specifiedClass == null) {
logDiagnostic("Trying to get log class from system property " + logDiagnostic("Trying to get log class from system property '" +
LOG_PROPERTY); LOG_PROPERTY + "'");
try { try {
specifiedClass = System.getProperty(LOG_PROPERTY); specifiedClass = System.getProperty(LOG_PROPERTY);
} catch (SecurityException e) { } catch (SecurityException e) {
@@ -851,8 +851,8 @@ public class LogFactoryImpl extends LogFactory {
} }
if (specifiedClass == null) { // @deprecated if (specifiedClass == null) { // @deprecated
logDiagnostic("Trying to get log class from system property " + logDiagnostic("Trying to get log class from system property '" +
LOG_PROPERTY_OLD); LOG_PROPERTY_OLD + "'");
try { try {
specifiedClass = System.getProperty(LOG_PROPERTY_OLD); specifiedClass = System.getProperty(LOG_PROPERTY_OLD);
} catch (SecurityException e) { } catch (SecurityException e) {