mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-07 17:32:14 +00:00
Log to cquery_diagnostics.log instead of cquery.log
This commit is contained in:
parent
c694b56bc1
commit
82f8133d7e
@ -3098,7 +3098,7 @@ void LanguageServerMain(const std::string& bin_name,
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
loguru::init(argc, 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_flush_interval_ms = 0;
|
||||||
loguru::g_stderr_verbosity = 1;
|
loguru::g_stderr_verbosity = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user