EC2 user data script

view story

http://serverfault.com – i'm using user data bash scripts to customize launched ec2 instances but i found that user data scripts take lot of time to start actually i don't know why this happen but i noticed a little bit weird action i uses output/error redirection in my user data script to /var/log/user-data.log and after launching ec2 instance i found the 1st line in /var/log/user-data.log is "OK", However my redirection won't print "OK" in user data log file any ideas/thoughts regarding this issue would be great Thanks in advance (HowTos)