From 9afc36152a1ce428243a3ace608d0508716a2efb Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 8 Jun 2010 15:02:20 +0000 Subject: 2010-06-09 Tatsuhiro Tsujikawa Made protected member variables of Command private. Added accessor funcs. --- src/FileAllocationDispatcherCommand.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/FileAllocationDispatcherCommand.cc') diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc index a8e08167..cb41f60d 100644 --- a/src/FileAllocationDispatcherCommand.cc +++ b/src/FileAllocationDispatcherCommand.cc @@ -54,8 +54,9 @@ Command* FileAllocationDispatcherCommand::createCommand (const SharedHandle& entry) { cuid_t newCUID = _e->newCUID(); - if(logger->info()) { - logger->info(MSG_FILE_ALLOCATION_DISPATCH, util::itos(newCUID).c_str()); + if(getLogger()->info()) { + getLogger()->info(MSG_FILE_ALLOCATION_DISPATCH, + util::itos(newCUID).c_str()); } FileAllocationCommand* command = new FileAllocationCommand(newCUID, entry->getRequestGroup(), _e, entry); -- cgit