Splits logger into module.