get_log function

Extract simulation log