diff options
author | Jose <jose@zeroc.com> | 2016-04-07 10:29:11 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-04-07 10:29:11 +0200 |
commit | 058a0c6c3ee2f059be0d8c7eba940aa31463fa7f (patch) | |
tree | a52b7eb37253b8da13db2b7f617f3233b440bbfb /cpp/src/Ice/Instance.cpp | |
parent | Fixed issue with IE where accessing the stack from Exception.toString leads t... (diff) | |
download | ice-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.cpp | 4 |
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 { |