Fix logging calls syntax