diff --git a/src/rime/setup.cc b/src/rime/setup.cc index d188beccf..ed8a93a8e 100644 --- a/src/rime/setup.cc +++ b/src/rime/setup.cc @@ -85,6 +85,9 @@ RIME_API void SetupLogging(const char* app_name, } } google::SetLogFilenameExtension(".log"); + google::SetLogSymlink(google::GLOG_INFO, app_name); + google::SetLogSymlink(google::GLOG_WARNING, app_name); + google::SetLogSymlink(google::GLOG_ERROR, app_name); // Do not allow other users to read/write log files created by current // process. FLAGS_logfile_mode = 0600;