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