From 0b94421031df93602790de7a3430e07de29f2637 Mon Sep 17 00:00:00 2001 From: lltcggie Date: Mon, 7 Dec 2015 16:56:00 +0900 Subject: [PATCH] =?UTF-8?q?Caffe=E3=81=AE=E3=82=A8=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E3=81=A7=E3=81=AA=E3=81=84=E3=83=AD=E3=82=B0=E3=82=92=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- waifu2x-caffe-gui/Source.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/waifu2x-caffe-gui/Source.cpp b/waifu2x-caffe-gui/Source.cpp index 6a1fe72..0ab8259 100644 --- a/waifu2x-caffe-gui/Source.cpp +++ b/waifu2x-caffe-gui/Source.cpp @@ -537,6 +537,10 @@ private: const auto cuDNNCheckEndTime = std::chrono::system_clock::now(); + // Caffeのエラーでないログを保存しないようにする + google::SetLogDestination(google::INFO, ""); + google::SetLogDestination(google::WARNING, ""); + // Caffeのエラーログを「error_log_〜」に出力 google::SetLogDestination(google::ERROR, "error_log_"); google::SetLogDestination(google::FATAL, "error_log_");