Wrote auto-log for simulations