Fix misleading logging messages