summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2020-07-15 13:26:43 +0000
committerTor Brede Vekterli <vekterli@verizonmedia.com>2020-07-16 08:49:00 +0000
commit2e887caba90b4de71444ffa5fb2dcc9c482759cf (patch)
treef0f67d1faff5d1a141343a8828d21c376f497c69 /storage
parentc608c8384315cebdc8adacb012a8c49a09cc0340 (diff)
Don't pretend process ID is thread ID in log message
Logging subsystem includes the correct thread ID either way.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/persistencethread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/persistence/persistencethread.cpp b/storage/src/vespa/storage/persistence/persistencethread.cpp
index 76c241d0627..a96e9870d36 100644
--- a/storage/src/vespa/storage/persistence/persistencethread.cpp
+++ b/storage/src/vespa/storage/persistence/persistencethread.cpp
@@ -919,7 +919,7 @@ PersistenceThread::processLockedMessage(FileStorHandler::LockedMessage lock) {
void
PersistenceThread::run(framework::ThreadHandle& thread)
{
- LOG(debug, "Started persistence thread with pid %d", getpid());
+ LOG(debug, "Started persistence thread");
while (!thread.interrupted() && !_env._fileStorHandler.closed(_env._partition)) {
thread.registerTick();
@@ -933,7 +933,7 @@ PersistenceThread::run(framework::ThreadHandle& thread)
vespalib::MonitorGuard flushMonitorGuard(_flushMonitor);
flushMonitorGuard.broadcast();
}
- LOG(debug, "Closing down persistence thread %d", getpid());
+ LOG(debug, "Closing down persistence thread");
vespalib::MonitorGuard flushMonitorGuard(_flushMonitor);
_closed = true;
flushMonitorGuard.broadcast();