-
Notifications
You must be signed in to change notification settings - Fork 403
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
Make logging consistent #536
Comments
Hey I would like to contribute to Caliper, starting with this issue. |
@amogh-jrules Awesome! To get familiar with the logging aspects you can refer to this doc page: https://hyperledger.github.io/caliper/vNext/logging/ |
Thanks, I'll do that! |
Hey, may I begin? |
@amogh-jrules Sorry for the late reply. After PR #682 is merged, you can start working on the "master modules" in the following directory: https://github.com/hyperledger/caliper/tree/master/packages/caliper-core/lib/master Until that time you can still inspect the different SUT adapters whether they require additional logging (probably yes). I'd recommend to start with the following adapters: Fabric, Ethereum, Sawtooth and FISCO-BCOS. |
Okay, thanks, if I have some queries where can I discuss them? Is there a community channel for this project? |
@amogh-jrules Yes, see the Communication section of this page: |
Is this issue resolved? If not can you explain a bit about the issue? I am new to this ecosystem but would like to start with this issue if it's open. Please share some beginner-friendly resources if possible. |
The issue is far from resolved, so every contribution is welcome! Check the following doc for guidelines on contributing: https://github.com/hyperledger/caliper/blob/main/CONTRIBUTING.md |
Ok. Thank you! Checked |
From what I understood, I am supposed to check all the error logs for all the packages while following the above sub-tasks of the issue. So to solve this issue it may be required to create multiple PRs. As of now I am starting to work on a package say Please correct me if I am wrong. |
@Tezas-6174 That sounds like a good workflow. Correcting error message per package sounds reasonable |
Yes. So now, I will start by working on Thank you. |
* Update error messages for 'bind'/'unbind' command Signed-off-by: Tezas-6174 <[email protected]> * Update error messages for 'launch worker' command Signed-off-by: Tezas-6174 <[email protected]> * Update error messages for 'launch manager' command Signed-off-by: Tezas-6174 <[email protected]> * Update error message for 'launch' command Signed-off-by: Tezas-6174 <[email protected]> * Remove unnecessary debug logs Signed-off-by: Tezas-6174 <[email protected]>
…caliper-fisco-bcos' package (hyperledger-caliper#1383) * Update error messages for 'ethereum-connector' Signed-off-by: Tezas-6174 <[email protected]> * Fix and organize a few error messages Signed-off-by: Tezas-6174 <[email protected]> * minor changes in caliper-fisco-bcos Signed-off-by: Tezas-6174 <[email protected]> * resolve conflicts with caliper-ethereum package Signed-off-by: Tezas-6174 <[email protected]> Signed-off-by: eravatee <[email protected]>
May I work on this issue ? |
The current logging situation is a little bit ad-hoc. There is no enforced standard, and we would benefit greatly from a serviceability and usability point if we were to enforce logging standards across the Caliper code base.
We should be logging at debug level:
We should be logging at error level
We should be logging at info level:
The text was updated successfully, but these errors were encountered: