Skip to content

Commit

Permalink
MIR-670 SharedMemoryLoader: send logs to debug channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Razvan Aguridan committed Jul 16, 2024
1 parent 1b2408f commit 9a94027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mir/caching/legendre/SharedMemoryLoader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ SharedMemoryLoader::SharedMemoryLoader(const param::MIRParametrisation& parametr
std::ostringstream msg("SharedMemoryLoader: ");

msg << "path='" << real << "', hostname='" << eckit::Main::hostname() << "'";
Log::info() << msg.str() << std::endl;
Log::debug() << msg.str() << std::endl;

if (real.asString().size() >= INFO_PATH - 1) {
Log::warning() << msg.str() << ", path name too long, maximum=" << INFO_PATH;
Expand Down
2 changes: 1 addition & 1 deletion src/mir/caching/matrix/SharedMemoryLoader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ SharedMemoryLoader::SharedMemoryLoader(const std::string& name, const eckit::Pat
std::ostringstream msg("SharedMemoryLoader: ");

msg << "path='" << real << "', hostname='" << eckit::Main::hostname() << "'";
Log::info() << msg.str() << std::endl;
Log::debug() << msg.str() << std::endl;

if (real.asString().size() >= INFO_PATH - 1) {
Log::warning() << msg.str() << ", path name too long, maximum=" << INFO_PATH;
Expand Down

0 comments on commit 9a94027

Please sign in to comment.