Open denisshevchenko opened 5 years ago
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