diff options
Diffstat (limited to 'src/FileAllocationDispatcherCommand.cc')
| -rw-r--r-- | src/FileAllocationDispatcherCommand.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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<FileAllocationEntry>& 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); |
