Fix logging messages