use new logger in runtime constructor