diff options
Diffstat (limited to 'java/src/Ice/PropertiesI.java')
-rw-r--r-- | java/src/Ice/PropertiesI.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/java/src/Ice/PropertiesI.java b/java/src/Ice/PropertiesI.java index 3afe19d520c..bed28124d00 100644 --- a/java/src/Ice/PropertiesI.java +++ b/java/src/Ice/PropertiesI.java @@ -92,10 +92,9 @@ public final class PropertiesI extends LocalObjectImpl implements Properties setProperty(String key, String value) { // - // Check if the property is legal. (We write to System.err instead of using - // a logger because no logger may be established at the time the property - // is parsed.) + // Check if the property is legal. // + Logger logger = Ice.Util.getProcessLogger(); if(key == null || key.length() == 0) { return; @@ -126,7 +125,7 @@ public final class PropertiesI extends LocalObjectImpl implements Properties } if(!found) { - System.err.println("warning: unknown property: " + key); + logger.warning("unknown property: " + key); } } } |