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

Intelligent log output method and device, computer equipment and storage medium

An output method and computer program technology, applied in the log field, can solve problems such as poor adaptability and heavy maintenance workload

Active Publication Date: 2020-05-08
SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide an intelligent log output method, device, computer equipment and storage medium, aiming to solve the problems of poor adaptability and heavy maintenance workload in the log output method in the prior art

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
  • Intelligent log output method and device, computer equipment and storage medium
  • Intelligent log output method and device, computer equipment and storage medium
  • Intelligent log output method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0038] It should be understood that the terminology used in the description of the present invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the present invention. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plu...

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 an intelligent log output method and a device, computer equipment and a storage medium, and the method comprises the steps: importing a log tool class into a root path of eachmodule of a target project; when a module is started, calling the log tool class under the module root path and executing the log tool class; automatically reading the path where the module is located, and creating a log file under the same-level path according to the path where the module is located; recording logs generated by the log tool class into the log file; and when a calling request of the log file is received, returning the log file. According to the method, a log object does not need to be independently created or configured, a corresponding log file can be automatically created only by introducing a universal log object, decoupling is easy, automatic management of a newly-added interface is effectively supported, and logs do not need to be independently maintained.

Description

technical field [0001] The invention relates to the field of log technology, in particular to an intelligent log output method, device, computer equipment and storage medium. Background technique [0002] In the existing technology, the logs in a service are generally output to a log file in a centralized manner. When there are more and more services and more and more business interfaces corresponding to the services, the log output will mix multiple business interfaces, resulting in log files It is very confusing and inconvenient to view. At present, the common method is to create or configure log objects separately according to business division. This log creation method cannot well adapt to the automatic management of new interfaces, and requires a large amount of maintenance work. Contents of the invention [0003] The purpose of the present invention is to provide an intelligent log output method, device, computer equipment and storage medium, aiming to solve the prob...

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): G06F16/18
CPCG06F16/1815Y02D10/00
Inventor 冼东亮李柏李如先
Owner SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD
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