Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

How to control log level of tmkms #353

@whunmr

Description

@whunmr

I'd like to install the tmkms as a service, which running long enough.
so I tried to let kms only print error level logs.
but seems RUST_LOG=error not works.

Any suggestions? Thanks.

j@j ~ $ RUST_LOG=error ./tmkms start -c tmkms.toml
13:45:07 [info] tmkms 0.6.3 starting up...
13:45:07 [info] [keyring:softsign] added consensus key coinexvalconspub1zcjduepq37l2ulws68yhe5aaeh4sk4q6r78chxcd3zse2ewr9nplpzjvrcxqgn25jz
13:45:07 [info] KMS node ID: 25150CF2E0400E57AB29475C78E28836C247D985
13:45:07 [error] [coinexdex-test1@tcp://127.0.0.1:26658] I/O error: Connection refused (os error 111)
13:45:08 [info] KMS node ID: 25150CF2E0400E57AB29475C78E28836C247D985
13:45:08 [error] [coinexdex-test1@tcp://127.0.0.1:26658] I/O error: Connection refused (os error 111)
13:45:09 [info] KMS node ID: 25150CF2E0400E57AB29475C78E28836C247D985
13:45:09 [error] [coinexdex-test1@tcp://127.0.0.1:26658] I/O error: Connection refused (os error 111)
^C

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions