split up logger stuff