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(logging): log info and above by default #327

Merged
merged 1 commit into from
Aug 5, 2021
Merged

Conversation

WikiRik
Copy link
Member

@WikiRik WikiRik commented Jul 30, 2021

@serge1peshcoff apparently LOGLEVEL is not set in .env so it does debug. Apart from adding it to .env I think it's good if the default level is also info on production

@WikiRik WikiRik requested a review from a team July 30, 2021 10:00
@codecov
Copy link

codecov bot commented Jul 30, 2021

Codecov Report

Merging #327 (80bb659) into master (d9721c1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #327   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           42        42           
  Lines         1422      1422           
  Branches       227       227           
=========================================
  Hits          1422      1422           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9721c1...80bb659. Read the comment docs.

@@ -16,7 +16,7 @@ const config = {
},
logger: {
silent: false,
level: process.env.LOGLEVEL || 'debug'
level: process.env.LOGLEVEL || 'info'
Copy link
Member

Choose a reason for hiding this comment

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

better to override it at production config and leave the default as debug, we only need info in production

@WikiRik WikiRik merged commit a72b10b into master Aug 5, 2021
@WikiRik WikiRik deleted the less-logging branch August 5, 2021 11:49
serge1peshcoff pushed a commit that referenced this pull request Aug 5, 2021
## [1.36.3](1.36.2...1.36.3) (2021-08-05)

### Bug Fixes

* **logging:** Log info and above by default ([#327](#327)) ([a72b10b](a72b10b))
@serge1peshcoff
Copy link
Member

🎉 This PR is included in version 1.36.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants