Mercurial > hg > orthanc-stone
comparison Framework/Oracle/ThreadedOracle.cpp @ 1437:297e57d3508c
Moved two WARNING log entries to INFO. These weren't warnings.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 19 May 2020 15:28:55 +0200 |
parents | 257f2c9a02ac |
children | 30deba7bc8e2 |
comparison
equal
deleted
inserted
replaced
1436:fb8c36073983 | 1437:297e57d3508c |
---|---|
394 LOG(ERROR) << "ThreadedOracle::Start(): (state_ != State_Setup)"; | 394 LOG(ERROR) << "ThreadedOracle::Start(): (state_ != State_Setup)"; |
395 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); | 395 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); |
396 } | 396 } |
397 else | 397 else |
398 { | 398 { |
399 LOG(WARNING) << "Starting oracle with " << workers_.size() << " worker threads"; | 399 LOG(INFO) << "Starting oracle with " << workers_.size() << " worker threads"; |
400 state_ = State_Running; | 400 state_ = State_Running; |
401 | 401 |
402 for (unsigned int i = 0; i < workers_.size(); i++) | 402 for (unsigned int i = 0; i < workers_.size(); i++) |
403 { | 403 { |
404 workers_[i] = new boost::thread(Worker, this); | 404 workers_[i] = new boost::thread(Worker, this); |