logging: use dict instead of list for formatting messages



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/yandex-sysmon/powny/177)
<!-- Reviewable:end -->