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

Log out important directories for validator client #5653

Merged
merged 18 commits into from
Apr 30, 2020
Merged
1 change: 1 addition & 0 deletions validator/keymanager/direct_keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func NewKeystore(input string) (KeyManager, string, error) {
if opts.Path == "" {
opts.Path = accounts.DefaultValidatorDir()
}
log.WithField("keystorePath", opts.Path).Info("Checking validator keys")

exists, err := accounts.Exists(opts.Path)
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions validator/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func NewValidatorClient(ctx *cli.Context) (*ValidatorClient, error) {
if err := clearDB(dataDir, pubkeys, forceClearFlag); err != nil {
return nil, err
}
log.WithField("databasePath", dataDir).Info("Checking DB")
}

if err := ValidatorClient.registerPrometheusService(ctx); err != nil {
Expand Down