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

feat(cmd/node): add logs cmd to dynamically change the log level #2601

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

vgonkivs
Copy link
Member

Overview

Added cmds that allow to change log level during runtime

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

@vgonkivs vgonkivs added area:rpc kind:feat Attached to feature PRs labels Aug 23, 2023
@vgonkivs vgonkivs self-assigned this Aug 23, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #2601 (d6744ca) into main (bb9b4d4) will decrease coverage by 0.02%.
Report is 3 commits behind head on main.
The diff coverage is 4.54%.

@@            Coverage Diff             @@
##             main    #2601      +/-   ##
==========================================
- Coverage   51.26%   51.25%   -0.02%     
==========================================
  Files         157      158       +1     
  Lines       10490    10512      +22     
==========================================
+ Hits         5378     5388      +10     
- Misses       4637     4652      +15     
+ Partials      475      472       -3     
Files Changed Coverage Δ
cmd/celestia/logs.go 0.00% <0.00%> (ø)
cmd/celestia/rpc.go 17.85% <100.00%> (+0.29%) ⬆️

... and 8 files with indirect coverage changes

Copy link
Collaborator

@distractedm1nd distractedm1nd left a comment

Choose a reason for hiding this comment

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

utACK, not sure its necessary since we can do the same with celestia rpc node LogLevelSet * DEBUG or celestia rpc node LogLevelSet dagstore DEBUG but I will leave that up to everyone else to decide

@renaynay renaynay merged commit bbe970f into celestiaorg:main Aug 23, 2023
13 of 16 checks passed
walldiss pushed a commit to walldiss/celestia-node that referenced this pull request Sep 22, 2023
…estiaorg#2601)

## Overview
Added cmds that allow to change log level during runtime

## Checklist

<!--
Please complete the checklist to ensure that the PR is ready to be
reviewed.

IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->

- [ ] New and updated code has appropriate documentation
- [ ] New and updated code has new and/or updated testing
- [ ] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [ ] Linked issues closed with keywords

(cherry picked from commit bbe970f)
walldiss pushed a commit that referenced this pull request Sep 22, 2023
## Overview
Added cmds that allow to change log level during runtime

## Checklist

<!--
Please complete the checklist to ensure that the PR is ready to be
reviewed.

IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->

- [ ] New and updated code has appropriate documentation
- [ ] New and updated code has new and/or updated testing
- [ ] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [ ] Linked issues closed with keywords

(cherry picked from commit bbe970f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rpc kind:feat Attached to feature PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants