Fix logging isses
Closes yandex-sysmon/powny-cli#17
Closes yandex-sysmon/powny-cli#21
Closes yandex-sysmon/powny-cli#19