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

fix: revert mining_node default logging config #3262

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions common/logging/log4rs_sample_mining_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ appenders:
kind: console
encoder:
pattern: "{d(%Y-%m-%d %H:%M:%S.%f)} [{t}] {h({l}):5} {m}{n}"
filters:
-
kind: threshold
level: warn
# An appender named "base_layer" that writes to a file with a custom pattern encoder
mining_node:
kind: rolling_file
Expand All @@ -37,9 +33,22 @@ appenders:

# Set the default logging level to "warn" and attach the "stdout" appender to the root
root:
level: info
level: warn
appenders:
- stdout
- mining_node

loggers:
# mining_node
tari::application:
level: debug
appenders:
- mining_node
additive: false
tari_mining_node:
level: debug
appenders:
- mining_node
- stdout
additive: false