Fix logging isses

Closes yandex-sysmon/powny-cli#17
Closes yandex-sysmon/powny-cli#21
Closes yandex-sysmon/powny-cli#19
Closes yandex-sysmon/powny-cli#25
Refactoring footprint