diff --git a/src/rime/setup.cc b/src/rime/setup.cc index bb29427764..89f5d9511e 100644 --- a/src/rime/setup.cc +++ b/src/rime/setup.cc @@ -81,6 +81,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;