Adds logger statements for debug ec2