summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2007-05-25 16:45:59 +0000
committerBrent Eagles <brent@zeroc.com>2007-05-25 16:45:59 +0000
commitf64fba1f6da52effbe258d0c72e0ff21505cb810 (patch)
tree158c728e486fcebef631826086e9cf6a9365f475 /cpp/src/Ice/Instance.cpp
parentVC80 fixes (diff)
downloadice-f64fba1f6da52effbe258d0c72e0ff21505cb810.tar.bz2
ice-f64fba1f6da52effbe258d0c72e0ff21505cb810.tar.xz
ice-f64fba1f6da52effbe258d0c72e0ff21505cb810.zip
Remove Ice.UseEventLog property from head. Remove code in Glacier2 that
reads deprecated properties if new properties are not set. Also removed the redundant warnings.
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 7fd7ef6c555..c450d48046c 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -580,13 +580,12 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
if(!_initData.logger)
{
#ifdef _WIN32
+ //
+ // DEPRECATED PROPERTY: Ice.UseEventLog is deprecated.
+ //
if(_initData.properties->getPropertyAsInt("Ice.UseEventLog") > 0)
{
_initData.logger = new EventLoggerI(_initData.properties->getProperty("Ice.ProgramName"));
- //
- // DEPRECATED PROPERTY: Ice.UseEventLog is deprecated.
- //
- _initData.logger->warning("Ice.UseEventLog is deprecated.");
}
#else
if(_initData.properties->getPropertyAsInt("Ice.UseSyslog") > 0)