Replaced an overlooked call to fprintf() with one to obj.log()