Skip to content

Commit

Permalink
Log: remove useless messages
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Dec 1, 2020
1 parent a644ae2 commit 9853404
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/OrcCommand/WolfTask.cpp
Expand Up @@ -59,7 +59,6 @@ HRESULT WolfTask::ApplyNotification(
break;
case CommandNotification::Running:
// Process is still running, checking if it hangs...
Log::Debug(L"Task {} is running (pid: {})", m_command, m_dwPID);
{
HANDLE hProcess =
OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, static_cast<DWORD>(notification->GetProcessID()));
Expand Down
2 changes: 0 additions & 2 deletions src/OrcLib/CommandAgent.cpp
Expand Up @@ -1004,8 +1004,6 @@ void CommandAgent::run()
}
break;
case CommandMessage::RefreshRunningList: {
Log::Debug("CommandAgent: Refreshing running command list");

Concurrency::critical_section::scoped_lock s(m_cs);
auto new_end = std::remove_if(
m_RunningCommands.begin(),
Expand Down
1 change: 0 additions & 1 deletion src/OrcLib/FileStream.cpp
Expand Up @@ -279,7 +279,6 @@ FileStream::Write(__in_bcount(cbBytes) const PVOID pBuffer, __in ULONGLONG cbByt
return hr;
}

Log::Trace("WriteFile {} bytes succeeded (hFile: {:p})", cbBytesWritten, m_hFile);
*pcbBytesWritten = cbBytesWritten;
return S_OK;
}
Expand Down

0 comments on commit 9853404

Please sign in to comment.