Skip to content
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

Merged
merged 2 commits into from
Apr 2, 2017
Merged

Improve logging #296

merged 2 commits into from
Apr 2, 2017

Conversation

benrubson
Copy link
Contributor

Hello,

This PR does 2 things :

Thank you 👍

Ben

when syslog is used
This was referenced Mar 9, 2017
@benrubson
Copy link
Contributor Author

@rfjakob could we think about merging this easy PR please ? Many thx 👍

Copy link
Collaborator

@rfjakob rfjakob left a 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");
Copy link
Collaborator

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";

Copy link
Contributor Author

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use "="?

@rfjakob rfjakob merged commit c68c130 into vgough:master Apr 2, 2017
@benrubson benrubson deleted the improvelogs branch April 3, 2017 05:52
@dickerpulli
Copy link

When is 1.9.2 going to be released?

@benrubson
Copy link
Contributor Author

@rfjakob / @vgough will decide, but would be nice to try to solve #214 / #244 I think.
And merge #293 / #295 / #309 / #317.
Here's my wishlist for 1.9.2 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants