Removing logging statement