log text of sleep.sh optimized