Explorar o código

Log the start of the simulation

Ian Goldberg %!s(int64=4) %!d(string=hai) anos
pai
achega
b1b933cedf
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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)