소스 검색

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)