]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polished debugging.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 12 Apr 2011 18:56:40 +0000 (12:56 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 12 Apr 2011 18:56:40 +0000 (12:56 -0600)
src/ipc/StoreMap.cc

index 110347759563b4cae8c1168d2f9436cbc07835ac..ec300446dde9d7082a25f75f77c86c8f1421675d 100644 (file)
@@ -16,7 +16,7 @@ Ipc::StoreMap::StoreMap(const char *const aPath, const int limit,
     const size_t mySharedSize = Shared::MemSize(limit);
     shm.create(mySharedSize + sharedSizeExtra);
     shared = new (shm.reserve(mySharedSize)) Shared(limit);
-    debugs(54, 5, HERE << "new map [" << path << "] created");
+    debugs(54, 5, HERE << "new map [" << path << "] created: " << limit);
 }
 
 Ipc::StoreMap::StoreMap(const char *const aPath):
@@ -27,7 +27,7 @@ Ipc::StoreMap::StoreMap(const char *const aPath):
     shared = reinterpret_cast<Shared *>(shm.mem());
     // check that nobody used our segment chunk and that shared->limit is sane
     assert(shared == reinterpret_cast<Shared *>(shm.reserve(Shared::MemSize(shared->limit))));
-    debugs(54, 5, HERE << "attached map [" << path << "] created");
+    debugs(54, 5, HERE << "attached map [" << path << "] created: " << shared->limit);
 }
 
 Ipc::StoreMap::Slot *