From c162c0492a6ba4ec061bfccd159d85286aedb450 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Fri, 22 Mar 2024 11:45:57 +0100 Subject: [PATCH] Remove poor man's hack for #4847 --- src/cli/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/cli/main.cpp b/src/cli/main.cpp index a4453fc6301..0763eaf614a 100644 --- a/src/cli/main.cpp +++ b/src/cli/main.cpp @@ -80,14 +80,6 @@ int main(int argc, char* argv[]) { "└{0:─^{2}}┘", "", "The `classic` command is deprecated and will be removed in a future release", 80); fmt::print("\n"); -#if defined _WIN32 - // Poor man's hack #4847 - // Disable this logger, we have a duplicate in the ruby shared lib - openstudio::Logger::instance().standardOutLogger().disable(); - openstudio::Logger::instance().standardErrLogger().disable(); - // Avoid getting some messages during getOpenStudioModule() when we locate the DLL - openstudio::StringStreamLogSink sink; -#endif result = openstudio::rubyCLI(rubyEngine); } else { CLI::App app{"openstudio"};