Log to cquery_diagnostics.log instead of cquery.log

This commit is contained in:
Jacob Dufault 2017-10-28 14:51:12 -07:00
parent c694b56bc1
commit 82f8133d7e

View File

@ -3098,7 +3098,7 @@ void LanguageServerMain(const std::string& bin_name,
////////////////////////////////////////////////////////////////////////////////
int main(int argc, char** argv) {
loguru::init(argc, argv);
loguru::add_file("cquery.log", loguru::Truncate, loguru::Verbosity_MAX);
loguru::add_file("cquery_diagnostics.log", loguru::Truncate, loguru::Verbosity_MAX);
loguru::g_flush_interval_ms = 0;
loguru::g_stderr_verbosity = 1;