Преглед на файлове

Log the start of the simulation

Ian Goldberg преди 4 години
родител
ревизия
b1b933cedf
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      simulator.py

+ 2 - 0
simulator.py

@@ -301,6 +301,8 @@ if __name__ == '__main__':
     statslogger.addHandler(handler)
     statslogger.setLevel(logging.INFO)
 
+    statslogger.info("Starting simulation %s", logfile)
+
     # Set the Walking Onions style to use
     network.thenetwork.set_wo_style(womode, snipauthmode)