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

Logging to multiple outputs #1134

Merged
merged 1 commit into from Nov 14, 2019
Merged

Logging to multiple outputs #1134

merged 1 commit into from Nov 14, 2019

Conversation

@eugene-babichenko
Copy link
Contributor

eugene-babichenko commented Nov 14, 2019

Implement the possibility to log into multiple outputs. Configuration file example:

log:
  - output:
      file: example.log
    level: info
    format: json
  - output: stderr
    level: debug
    format: plain

In addition a user can specify one additional logger through the command line arguments.

Resolves #392.

@eugene-babichenko eugene-babichenko force-pushed the multiple-log-outputs branch from 8ae7b62 to 40f46ba Nov 14, 2019
@eugene-babichenko eugene-babichenko force-pushed the multiple-log-outputs branch from 40f46ba to 8569430 Nov 14, 2019
@NicolasDP NicolasDP requested a review from input-output-hk/rust Nov 14, 2019
@NicolasDP NicolasDP merged commit fce6bfa into master Nov 14, 2019
6 of 7 checks passed
6 of 7 checks passed
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
ci/circleci: cargo_audit Your tests passed on CircleCI!
Details
ci/circleci: cargo_fetch Your tests passed on CircleCI!
Details
ci/circleci: rustfmt Your tests passed on CircleCI!
Details
ci/circleci: test_debug Your tests passed on CircleCI!
Details
ci/circleci: test_nightly Your tests passed on CircleCI!
Details
ci/circleci: test_release Your tests passed on CircleCI!
Details
@NicolasDP NicolasDP deleted the multiple-log-outputs branch Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.