summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-04-07 10:29:11 +0200
committerJose <jose@zeroc.com>2016-04-07 10:29:11 +0200
commit058a0c6c3ee2f059be0d8c7eba940aa31463fa7f (patch)
treea52b7eb37253b8da13db2b7f617f3233b440bbfb /cpp/src/Ice/Instance.cpp
parentFixed issue with IE where accessing the stack from Exception.toString leads t... (diff)
downloadice-058a0c6c3ee2f059be0d8c7eba940aa31463fa7f.tar.bz2
ice-058a0c6c3ee2f059be0d8c7eba940aa31463fa7f.tar.xz
ice-058a0c6c3ee2f059be0d8c7eba940aa31463fa7f.zip
ICE-7035 - Add option to roll log files
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 75912ec0c10..c08a021c02f 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -1230,7 +1230,9 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
#endif
if(!logfile.empty())
{
- _initData.logger = new LoggerI(_initData.properties->getProperty("Ice.ProgramName"), logfile);
+ _initData.logger =
+ new LoggerI(_initData.properties->getProperty("Ice.ProgramName"), logfile, true, 0,
+ _initData.properties->getPropertyAsIntWithDefault("Ice.LogFile.SizeMax", 0));
}
else
{