You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
Our logging situation is terrible and not helpful. A lot of Buildable-instances are not as useful as we'd want. So we will need to fix these instances for pretty much every type we use to make sure that we get the most information we can out of our logging.That also probably mean getting rid of this BuildableSafe we did a while ago and just, not output password and private keys in the Buildable-instance at all.
Decision
Review all Buildable-instances and check what outputs we get from the logs.
(Probably) get rid of BuildableSafe-instances by removing them with Buildable-instances.
Add a few actual log lines in the wallet code, apart from the API calls.
Acceptance Criterias
All Buildable-instances must provide all information we need in logs.
Information which is printed in logs must be well-formatted.
Development Plan
Proposal - open a separate PR for each layer:
Buildable-instances in API-layer.
Buildable-instances in Wallet-layer.
Buildable-instances in Kernel-layer.
Buildable-instances in DB-layer.
Make sure all Buildable-instances in cardano-wallet produce useful information in logs.
Re-write existing Buildable-instances using utils from Cardano.Wallet.Util module.
Replace BuildableSafeGen-instances by corresponding Buildable-instances and make sure we don't print out passwords and private keys. BuildableSafeGen-instances must be removed from these modules:
Replace BuildableSafeGen-instances by corresponding Buildable-instances and make sure we don't print out passwords and private keys. BuildableSafeGen-instances must be removed from these modules:
I am not sure this is what we want? We are going to lose privacy option for our logs which we do want in production setting. Some people wouldn't want their account names being leaked into logs
Context
Our logging situation is terrible and not helpful. A lot of
Buildable
-instances are not as useful as we'd want. So we will need to fix these instances for pretty much every type we use to make sure that we get the most information we can out of our logging.That also probably mean getting rid of thisBuildableSafe
we did a while ago and just, not output password and private keys in theBuildable
-instance at all.Decision
Buildable
-instances and check what outputs we get from the logs.BuildableSafe
-instances by removing them withBuildable
-instances.Acceptance Criterias
Buildable
-instances must provide all information we need in logs.Development Plan
Proposal - open a separate PR for each layer:
Buildable
-instances inAPI
-layer.Buildable
-instances inWallet
-layer.Buildable
-instances inKernel
-layer.Buildable
-instances inDB
-layer.Buildable
-instances incardano-wallet
produce useful information in logs.Buildable
-instances using utils fromCardano.Wallet.Util
module.BuildableSafeGen
-instances by correspondingBuildable
-instances and make sure we don't print out passwords and private keys.BuildableSafeGen
-instances must be removed from these modules:Cardano.Wallet.API.Request
Cardano.Wallet.API.Request.Filter
Cardano.Wallet.API.Request.Sort
Cardano.Wallet.API.V1.Types
Cardano.Wallet.Types.UtxoStatistics
PR
develop
develop
develop
develop
develop
develop
develop
QA
Retrospective
The text was updated successfully, but these errors were encountered: