[BZ-996572] create loggers declaratively with kmodule.xml
(cherry picked from commit 60e040f72207a6cd086406ca68a34f04d0ad65be)