fixed logger calls syntax