Log events from ebs to file, formatting