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: support json files #17

Merged
merged 1 commit into from Feb 23, 2018
Merged

fix: support json files #17

merged 1 commit into from Feb 23, 2018

Conversation

popomore
Copy link
Member

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

egg-logger will generate json file when outputJson is true,
and it should be rotated.

egg-logger will generate json file when outputJson is true,
and it should be rotated.
@popomore
Copy link
Member Author

fix test eggjs/egg#2122

@codecov-io
Copy link

codecov-io commented Feb 23, 2018

Codecov Report

Merging #17 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   95.67%   95.74%   +0.06%     
==========================================
  Files          12       12              
  Lines         185      188       +3     
==========================================
+ Hits          177      180       +3     
  Misses          8        8
Impacted Files Coverage Δ
app/lib/day_rotator.js 82.92% <100%> (+1.34%) ⬆️

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 d306e0b...7b3be23. Read the comment docs.

@popomore popomore merged commit 7211181 into master Feb 23, 2018
@popomore popomore deleted the json-file branch February 23, 2018 06:56
@popomore
Copy link
Member Author

  • egg-logrotator@3.0.2

denghongcai pushed a commit to denghongcai/egg-logrotator that referenced this pull request May 9, 2018
egg-logger will generate json file when outputJson is true,
and it should be rotated.
popomore pushed a commit that referenced this pull request May 9, 2018
egg-logger will generate json file when outputJson is true,
and it should be rotated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants