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

Add --nolog option to silence log file. #2

Merged
merged 1 commit into from
Jun 20, 2018
Merged

Add --nolog option to silence log file. #2

merged 1 commit into from
Jun 20, 2018

Conversation

snake66
Copy link
Contributor

@snake66 snake66 commented Jun 20, 2018

In our use case we don't need the log file, so I added an option to disable it.

TBH I'm not too happy with this quick solution, it would be better to be able to inject the logger into the Nettfiske instance, and then have the app itself configure how logging should be done. If you want I'll be happy to do the necessary refactoring. If not I'll leave it like this, unless you have any gripes about it.

@wisespace-io
Copy link
Owner

@snake66 The solution is fine for now, as I may change the logging in a near future. Thank you.

@wisespace-io wisespace-io merged commit 1bf44aa into wisespace-io:master Jun 20, 2018
@snake66
Copy link
Contributor Author

snake66 commented Jun 20, 2018

Awesome, thanks!

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