From 22d9c67d9ee1f838ddd0989b0e291803cc5d2c84 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 3 Mar 2012 23:05:02 +0100 Subject: [PATCH] Changed: #1440 Modified some logging --HG-- branch : build_pipeline_v3 --- code/nel/tools/pipeline/service/database_status.cpp | 2 +- code/nel/tools/pipeline/service/module_pipeline_slave.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/nel/tools/pipeline/service/database_status.cpp b/code/nel/tools/pipeline/service/database_status.cpp index 071813b55..f3ad5891a 100644 --- a/code/nel/tools/pipeline/service/database_status.cpp +++ b/code/nel/tools/pipeline/service/database_status.cpp @@ -194,7 +194,7 @@ public: StatusMutex->unlock_shared(); if (fs.LastChangedReference == fmdt && fs.LastFileSizeReference == CFile::getFileSize(FilePath)) { - nlinfo("Skipping already updated status, may have been queued twice (%s)", FilePath.c_str()); + // nlinfo("Skipping already updated status, may have been queued twice (%s)", FilePath.c_str()); if (firstSeen) nlerror("File first seen has same last changed time, not possible."); } else diff --git a/code/nel/tools/pipeline/service/module_pipeline_slave.cpp b/code/nel/tools/pipeline/service/module_pipeline_slave.cpp index e77e0a310..be424159a 100644 --- a/code/nel/tools/pipeline/service/module_pipeline_slave.cpp +++ b/code/nel/tools/pipeline/service/module_pipeline_slave.cpp @@ -82,11 +82,11 @@ public: { if (moduleProxy->getModuleClassName() == "ModulePipelineMaster") { + nlinfo("Master UP (%s)", moduleProxy->getModuleName().c_str()); + nlassert(m_Master == NULL); m_Master = new CModulePipelineMasterProxy(moduleProxy); - - nlinfo("Master UP (%s)", moduleProxy->getModuleName().c_str()); } } @@ -94,12 +94,12 @@ public: { if (moduleProxy->getModuleClassName() == "ModulePipelineMaster") { + nlinfo("Master DOWN (%s)", moduleProxy->getModuleName().c_str()); + nlassert(m_Master->getModuleProxy() == moduleProxy); delete m_Master; m_Master = NULL; - - nlinfo("Slave DOWN (%s)", moduleProxy->getModuleName().c_str()); } }