Signer: initialize logging

This adds the ability to govern the logging behaviour of the signer
with environment variables.
This commit is contained in:
Vincent Bernardoff 2018-09-04 17:10:12 +09:00 committed by Benjamin Canou
parent f2961db740
commit 8d817d62c8
No known key found for this signature in database
GPG Key ID: 73607948459DC5F8

View File

@ -301,6 +301,7 @@ let main () =
(module Tezos_signer_backends.Unencrypted) ; (module Tezos_signer_backends.Unencrypted) ;
Client_keys.register_signer Client_keys.register_signer
(module Tezos_signer_backends.Ledger) ; (module Tezos_signer_backends.Ledger) ;
Logging_unix.init () >>= fun () ->
let commands = let commands =
Clic.add_manual Clic.add_manual
~executable_name ~executable_name