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

Allow LogFormatter to be set from service options #313

Merged
merged 3 commits into from Oct 24, 2016
Merged

Conversation

archisgore
Copy link

I'm building on this PR:
#307

And making the suggested modification by @klizhentas.

Chris Hanaoka and others added 3 commits October 1, 2016 17:46
Add support for custom logrus formatters. If this property is set, vulcan will use this value when calling log.SetFormatter; otherwise, the default behavior (using the Options.Log string to determine the logrus formatter) will be used.
…ernally.

Merge ../../chanaoka/vulcand into archis/dev
Taking over and building up on this PR:
#307

I made sure that the log formatter is always
set without erroring out, even if syslog, or
any other formatter fails to work.
@archisgore archisgore merged commit c0cd7ac into master Oct 24, 2016
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.

None yet

2 participants