-
Notifications
You must be signed in to change notification settings - Fork 252
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_: support enable and disable log #6347
Conversation
Jenkins BuildsClick to see older builds (24)
|
726441b
to
cca7ce8
Compare
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (42.85%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #6347 +/- ##
============================================
+ Coverage 0.45% 59.42% +58.96%
============================================
Files 824 866 +42
Lines 109152 112634 +3482
============================================
+ Hits 498 66932 +66434
+ Misses 108597 37837 -70760
- Partials 57 7865 +7808
Flags with carried forward coverage won't be shown. Click here to find out more.
|
cca7ce8
to
8556857
Compare
@qfrank won't from now on all release builds in mobile have the |
now we have this new endpoint is mainly used to solve the issue, mobile support disable/enable log operation, however, it only updated |
That seems reasonable to me @qfrank 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me, just ensure with @osmaczko that this is the approach we want now with the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. It would also be possible to make it take effect at runtime. Please see: #6210, which deprecates service endpoints related to logging.
I'll take a look on how mobile can reuse |
8556857
to
388fce1
Compare
388fce1
to
3fea0ef
Compare
CI https://ci.status.im/blue/organizations/jenkins/status-go%2Fprs%2Ftests/detail/PR-6347/6/tests/
|
However, locally passing is based on the situation where the test may only run once; running it several times will yield different results, for example, TestRetrieveBigCommunity.
|
this PR added a new endpoint
SetLogEnabled
so that frontend can enable log when log is disabled by default for release build.relate mobile PR
relate comment
NOTE: I haven't review the way we store settings and all this mess with NodeConfig yet.