Fixed logging statement