Fixed debug levels for MistIn processes. Tweaked various verbosity levels.

This commit is contained in:
Thulinma 2014-08-05 15:15:20 +02:00
parent 7d015a32d3
commit 68245bf74c
2 changed files with 25 additions and 11 deletions

View file

@ -102,7 +102,7 @@ namespace IPC {
}
#endif
if (!(*this)){
FAIL_MSG("Failed to open semaphore %s: %s", name, strerror(errno));
DEBUG_MSG(DLVL_VERYHIGH, "Attempt to open semaphore %s: %s", name, strerror(errno));
}
myName = (char *)name;
}
@ -648,7 +648,7 @@ namespace IPC {
sharedPage tmp(std::string(baseName + (char)(myPages.size() + (int)'A')), (4096 << myPages.size()), true);
myPages.insert(tmp);
tmp.master = false;
DEBUG_MSG(DLVL_MEDIUM, "Added a new page: %s", tmp.name.c_str());
DEBUG_MSG(DLVL_VERYHIGH, "Created a new page: %s", tmp.name.c_str());
}
///\brief Deletes the highest allocated page