Procházet zdrojové kódy

去掉打印推送日志

linhaohong před 7 měsíci
rodič
revize
27f6b3b4ed
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      Service/DevicePushService.py

+ 1 - 3
Service/DevicePushService.py

@@ -418,8 +418,7 @@ class DevicePushService:
                 # thread_pool.submit(cls.async_send_picture_push, (
                 #     push_type, kwargs['aws_s3_client'], kwargs['bucket'], key,
                 #     kwargs['uid'], kwargs['appBundleId'], kwargs['token_val'], kwargs['event_type'], kwargs['n_time'],
-                #     push_kwargs['msg_title'], push_kwargs['msg_text'], kwargs['channel'], kwargs['storage_location']))
-                LOGGING.info('uid:{}, kwargs:{}'.format(uid, kwargs))
+                #     push_kwargs['msg_title'], push_kwargs['msg_text'], kwargs['channel'], kwargs['storage_location'])
                 push_thread = threading.Thread(target=cls.async_send_picture_push, args=(
                     push_type, kwargs['aws_s3_client'], kwargs['bucket'], key,
                     kwargs['uid'], kwargs['appBundleId'], kwargs['token_val'], kwargs['event_type'], kwargs['n_time'],
@@ -453,7 +452,6 @@ class DevicePushService:
                         push_result = PushObject.android_jpush(**kwargs)
 
                 elif push_type == 3:
-                    LOGGING.info('uid:{}, kwargs:{}'.format(uid, kwargs))
                     if kwargs["app_bundle_id"]:
                         huawei_push_object = HuaweiPushObject(appBundleId=kwargs["app_bundle_id"])
                     else: