Optimize console output