Fix logging statement