Skip to content

Commit

Permalink
Don't log PID in syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
fdegros committed Apr 28, 2022
1 parent 12dba6d commit 6d5ff16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ int main(int argc, char* argv[]) try {
// Ensure that numbers in debug messages have thousands separators.
// It makes big numbers much easier to read (eg sizes expressed in bytes).
std::locale::global(std::locale(std::locale::classic(), new NumPunct));
openlog(PROGRAM, LOG_PID | LOG_PERROR, LOG_USER);
openlog(PROGRAM, LOG_PERROR, LOG_USER);
setlogmask(LOG_UPTO(LOG_INFO));

fuse_args args = FUSE_ARGS_INIT(argc, argv);
Expand Down

0 comments on commit 6d5ff16

Please sign in to comment.