Merge pull request #368 from benrubson/syslogpid

Syslog options
This commit is contained in:
Valient Gough 2017-08-06 19:15:40 -07:00 committed by GitHub
commit b1816ae57e

View File

@ -569,7 +569,7 @@ int main(int argc, char *argv[]) {
}
encfs::initLogging(encfsArgs->isVerbose, encfsArgs->isDaemon);
ELPP_INITIALIZE_SYSLOG(encfsArgs->syslogTag.c_str(), 0, 0);
ELPP_INITIALIZE_SYSLOG(encfsArgs->syslogTag.c_str(), LOG_PID, LOG_USER);
VLOG(1) << "Root directory: " << encfsArgs->opts->rootDir;
VLOG(1) << "Fuse arguments: " << encfsArgs->toString();