diff options
author | Marc Laukien <marc@zeroc.com> | 2002-02-10 15:29:28 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-02-10 15:29:28 +0000 |
commit | f0ca968ad2c33ef03d303518150cb31df827c51b (patch) | |
tree | b7c25c8877e5bd5680d1b3df9d36f0f6fe6d1514 /cpp/src/IcePack/Activator.cpp | |
parent | fixes (diff) | |
download | ice-f0ca968ad2c33ef03d303518150cb31df827c51b.tar.bz2 ice-f0ca968ad2c33ef03d303518150cb31df827c51b.tar.xz ice-f0ca968ad2c33ef03d303518150cb31df827c51b.zip |
switched to LoggerUtil
Diffstat (limited to 'cpp/src/IcePack/Activator.cpp')
-rw-r--r-- | cpp/src/IcePack/Activator.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cpp/src/IcePack/Activator.cpp b/cpp/src/IcePack/Activator.cpp index 160809147ed..67c2ccca319 100644 --- a/cpp/src/IcePack/Activator.cpp +++ b/cpp/src/IcePack/Activator.cpp @@ -56,13 +56,13 @@ IcePack::Activator::run() } catch (const LocalException& ex) { - ostringstream s; - s << "exception in process termination listener:\n" << ex; - _communicator->getLogger()->error(s.str()); + Error out(_communicator->getLogger()); + out << "exception in process termination listener:\n" << ex; } catch (...) { - _communicator->getLogger()->error("unknown exception in process termination listener"); + Error out(_communicator->getLogger()); + out << "unknown exception in process termination listener"; } } @@ -290,7 +290,9 @@ IcePack::Activator::terminationListener() ret = read(fd, &s, 16); } while (ret != 0); - _communicator->getLogger()->error(err); + + Error out(_communicator->getLogger()); + out << err; } } else |