Removed useless log outputs.