diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-07-21 14:30:52 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-07-21 14:30:52 +0000 |
commit | 2379dcbd554ab5c1aac616b5585c99e3d742305e (patch) | |
tree | b674e53966fba682aa1008855a26721bd910e023 /cpp/src/IceGrid/TraceLevels.cpp | |
parent | Optimized context to avoid copies (diff) | |
download | ice-2379dcbd554ab5c1aac616b5585c99e3d742305e.tar.bz2 ice-2379dcbd554ab5c1aac616b5585c99e3d742305e.tar.xz ice-2379dcbd554ab5c1aac616b5585c99e3d742305e.zip |
Initial implementation of the IceGrid registry replication.
Diffstat (limited to 'cpp/src/IceGrid/TraceLevels.cpp')
-rw-r--r-- | cpp/src/IceGrid/TraceLevels.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/TraceLevels.cpp b/cpp/src/IceGrid/TraceLevels.cpp index b7c0aa033e0..67c4eb02383 100644 --- a/cpp/src/IceGrid/TraceLevels.cpp +++ b/cpp/src/IceGrid/TraceLevels.cpp @@ -18,6 +18,8 @@ TraceLevels::TraceLevels(const Ice::PropertiesPtr& properties, const Ice::Logger applicationCat("Application"), node(0), nodeCat("Node"), + replica(0), + replicaCat("Replica"), server(0), serverCat("Server"), adapter(0), @@ -37,6 +39,7 @@ TraceLevels::TraceLevels(const Ice::PropertiesPtr& properties, const Ice::Logger string keyBase = isNode ? "IceGrid.Node.Trace." : "IceGrid.Registry.Trace."; const_cast<int&>(application) = properties->getPropertyAsInt(keyBase + applicationCat); const_cast<int&>(node) = properties->getPropertyAsInt(keyBase + nodeCat); + const_cast<int&>(replica) = properties->getPropertyAsInt(keyBase + replicaCat); const_cast<int&>(server) = properties->getPropertyAsInt(keyBase + serverCat); const_cast<int&>(adapter) = properties->getPropertyAsInt(keyBase + adapterCat); const_cast<int&>(object) = properties->getPropertyAsInt(keyBase + objectCat); |