-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve logging #296
Improve logging #296
Conversation
when syslog is used
@rfjakob could we think about merging this easy PR please ? Many thx 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two nitpicks, otherwise good
encfs/main.cpp
Outdated
@@ -190,6 +191,7 @@ static bool processArgs(int argc, char *argv[], | |||
out->isVerbose = false; | |||
out->idleTimeout = 0; | |||
out->fuseArgc = 0; | |||
out->syslogTag.assign("encfs"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a stupid question, but why not simply
out->syslogTag = "encfs";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because option p)
some lines below uses assign
:)
I updated with =
which is more convenient 👍
encfs/main.cpp
Outdated
@@ -265,6 +269,9 @@ static bool processArgs(int argc, char *argv[], | |||
case 'S': | |||
out->opts->useStdin = true; | |||
break; | |||
case 't': | |||
out->syslogTag.assign(optarg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use "="?
When is 1.9.2 going to be released? |
Hello,
This PR does 2 things :
-t
option to tune syslog tag.Thank you 👍
Ben