Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Log dynamic output control method and device and medium

A control method and dynamic technology, applied in the Internet field, can solve the problem that the log cannot be controlled dynamically, and achieve the effect of flexible and convenient log output, improving scalability, and reducing the output of useless logs.

Pending Publication Date: 2021-11-23
浪潮卓数大数据产业发展有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the above-mentioned problem in the prior art that targeted dynamic control cannot be achieved for log output, this application proposes a control method, device and medium for log dynamic output, including:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log dynamic output control method and device and medium
  • Log dynamic output control method and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0020] figure 1 A schematic flowchart of a method for controlling dynamic log output at the server side provided by one or more embodiments of this specification. The method can be applied to different business fields, for example, the Internet financial business field, the e-commerce business field, the instant messaging business field, the game bus...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a log dynamic output control method and device and a medium, and the method comprises the steps: determining a program function interface, and obtaining an instance object through the program function interface; performing reflection processing on the instance object to obtain an internal structure of the instance object; and matching the internal structure with a corresponding matching condition in the class data source, and determining whether the instance object outputs a log through a program function interface or not according to a matching result. By performing dynamic output control on the logs, log output is more flexible and convenient, redundant codes and repetitive work caused by log control under special conditions are greatly reduced, the logs are output completely according to output conditions required by developers, output of useless logs is reduced, and the workload of the developers is reduced, therefore, the waste of server resources is reduced, in addition, the internal structure of the instance object is obtained in a reflection mode, codes are more flexible, and the expandability of applications is greatly improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular to a control method, device and medium for dynamic log output. Background technique [0002] With the rapid development of global Internet technology, various Internet products or systems emerge in an endless stream, and at the same time, various development languages ​​have also been widely used and developed. In Internet products or systems, log records are an essential part of program operation. Almost every Internet product or system has a log system, and each development language also has its own log framework and modules. Logging is very important for Internet products or systems. The role of the system is particularly important. [0003] However, due to the large user throughput of Internet products or systems, log output in some scenarios that need to record large fields and other special parameters consumes a lot of resources. However, the existing log ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07G06F8/33
CPCG06F11/0775G06F11/0781G06F8/33
Inventor 赵洋孟珂赵海兴李照川罗超徐克龙
Owner 浪潮卓数大数据产业发展有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products