Convert logging to lager