verifiablesoftware / vsw

Core project of VerifiableSoftware
Apache License 2.0
1 stars 0 forks source link

Default logging config file not found #80

Closed wenjing closed 3 years ago

wenjing commented 3 years ago

I'm testing on ubuntu bionic container. After initial installations, run the first vsw setup shows the following.

version = 0.0.4

(1) Specifically: root@f6fdf91d9796:/# WARNING:root:Logging config file not found: aries_cloudagent_vsw.config:default_logging_config.ini

I think we should supply a default config file with proper settings that should at least all aca-py api messages. More is better for now when we are in debugging phase.

It's also unclear where is this config file so I'm unable to create it myself.

(2) The other warning is also worrisome: WARNING:indy.libindy:_indy_loop_callback: Function returned error

(3) INFO should go to a logging file

2021-04-14 17:32:31 vsw.commands.setup INFO /usr/local/lib/python3.6/dist-packages/vsw/commands/setup.py genesis_file: /usr/local/lib/python3.6/dist-packages/vsw/conf/genesis.txt 2021-04-14 17:32:31 vsw.commands.setup INFO /usr/local/lib/python3.6/dist-packages/vsw/commands/setup.py seed:933a4fee33824b079ca274657aa1c562

================

root@f6fdf91d9796:/# vsw setup -n wallet1 -p Please enter wallet key: 2021-04-14 17:32:31 vsw.commands.setup INFO /usr/local/lib/python3.6/dist-packages/vsw/commands/setup.py genesis_file: /usr/local/lib/python3.6/dist-packages/vsw/conf/genesis.txt 2021-04-14 17:32:31 vsw.commands.setup INFO /usr/local/lib/python3.6/dist-packages/vsw/commands/setup.py seed:933a4fee33824b079ca274657aa1c562 root@f6fdf91d9796:/# WARNING:root:Logging config file not found: aries_cloudagent_vsw.config:default_logging_config.ini WARNING:indy.libindy:_indy_loop_callback: Function returned error Created new wallet Wallet type: indy Wallet name: wallet1 Created new public DID: 5QPk5moBBWiqvGaGe4QYfr Verkey: 3QCT15zwe1AuXtekGCBqLWWcmqZqRrxvq6urk7bCAs4R

wenjing commented 3 years ago

INFO replaced by #100 The rest done.