Browse Source

打印日志4

tanghongbin 5 năm trước cách đây
mục cha
commit
1ba36aa3f1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Controller/ShadowController.py

+ 1 - 1
Controller/ShadowController.py

@@ -65,7 +65,7 @@ def update_device_shadow(request):
     etk = request_dict.get('etk', None)
     eto = ETkObject(etk)
     uid = eto.uid
-    log = 'push----------{time}'.format(time=time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime()))
+    log = 'shadow----------{time}'.format(time=time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime()))
     log += '\n'
     log += '\tuid=' + uid
     LogUtil.write_log(log=log)