Log printing method and device, electronic equipment and readable storage medium

A log printing and log technology, applied in the direction of digital output to printing unit, electrical digital data processing, instruments, etc., can solve the problem of low log printing efficiency, and achieve the effect of improving log printing efficiency, accuracy and efficiency

Pending Publication Date: 2022-01-14
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a log printing method, device, equipment and storage medium, the main purpose of which is to solve the problem of low log printing efficiency

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 printing method and device, electronic equipment and readable storage medium
  • Log printing method and device, electronic equipment and readable storage medium
  • Log printing method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0094] In detail, the specific implementation of each module of the log printing device 100 is as follows:

[0095] Step 1. Obtain the registration information of each application, arrange the registration information according to the preset message middleware, and obtain a registration message queue.

[0096] In the embodiment of the present invention, the registration information includes information such as a unique name of the application and an application type. The preset message middleware can be a Kafka processing platform, and the Kafka processing platform is a high-throughput distributed publish-subscribe message system, including category (Topic), classification node (broker), cluster (kafka cluster) and other structures.

[0097] Specifically, the registration information is arranged according to the preset message middleware to obtain a registration message queue, including:

[0098] Using the message middleware to distribute the registration messages of the var...

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 relates to an artificial intelligence technology, and discloses a log printing method, which comprises the following steps: acquiring registration information of each application, arranging the registration information according to message middleware to obtain a registration message queue, acquiring log configuration information of each application, performing log printing configuration on each application based on the registration message queue and the log configuration information to obtain a log printing configuration instruction of each application, performing security detection on the log printing configuration instruction, and performing dynamic enhancement on the log printing configuration instruction subjected to security detection by utilizing a preset log agent module to obtain a standard log printing instruction, and executing the standard log printing instruction by utilizing a log agent module to obtain a printing log. In addition, the invention also relates to a block chain technology, and the registration information can be obtained from nodes of a block chain. The invention further provides a log printing device, electronic equipment and a computer readable storage medium. The problem that the log printing efficiency is low can be solved.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a log printing method, device, electronic equipment and computer-readable storage medium. Background technique [0002] In network devices, systems, and applications, logs record descriptions of related operations such as date, time, users, and actions. Therefore, it is necessary to print different types of application logs, security logs, and system logs during development and operation and maintenance. logs to help developers troubleshoot issues. However, because there is no uniform standard for log printing methods, many developers will print logs of different applications at will, which is inefficient and will generate a large number of duplicate logs, which will lead to waste of log storage space. When the system is abnormal, A large number of useless error logs may mislead the analysis direction of the troubleshooter. In addition, since there is no unified...

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
IPC IPC(8): G06F3/12
CPCG06F3/1273G06F3/1253G06F3/1222G06F3/1215
Inventor 姜卫宏
Owner CHINA PING AN PROPERTY INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products