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_");