Improved a logging statement