Skip to content

Commit

Permalink
set log filename extension ".log"
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Mar 6, 2024
1 parent ec2d87d commit d71b6ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rime/setup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ RIME_API void SetupLogging(const char* app_name,
FLAGS_log_dir = log_dir;
}
}
google::SetLogFilenameExtension(".log");
// Do not allow other users to read/write log files created by current
// process.
FLAGS_logfile_mode = 0600;
Expand Down

0 comments on commit d71b6ee

Please sign in to comment.