diff options
Diffstat (limited to 'lib/Utils/DebugDump.cpp')
-rw-r--r-- | lib/Utils/DebugDump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp index a36594b5..60564431 100644 --- a/lib/Utils/DebugDump.cpp +++ b/lib/Utils/DebugDump.cpp @@ -149,7 +149,7 @@ static int GetAndSetLock(const char* pLockFile, const char* pPID) perror_msg_and_die("Can't write lock file '%s'", pLockFile); } - log("Locked '%s'", pLockFile); + VERB1 log("Locked '%s'", pLockFile); return fd; } @@ -172,10 +172,10 @@ void CDebugDump::UnLock() if (m_nLockfileFD >= 0) { std::string lockFile = m_sDebugDumpDir + ".lock"; - log("UnLocking '%s'", lockFile.c_str()); close(m_nLockfileFD); m_nLockfileFD = -1; xunlink(lockFile.c_str()); + VERB1 log("UnLocked '%s'", lockFile.c_str()); } } |