prevent logger from being initialized twice (resulting in duplicated output)
@forman have look please yu worked on the logger stuff last