Added logging for issue #179