logger wrong init