Application system log output method and device

An application system and log technology, applied in the computer field, can solve the problems that developers cannot pay more attention to code business logic, increase the burden on developers, and complex business systems, so as to improve user experience, solve service pauses, and reduce burdens Effect

Pending Publication Date: 2020-05-19
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When writing code, developers must consider possible system problems that may occur when the application system is running online, and then write log output accordingly, which undoubtedly increases the burden on developers and prevents developers from paying more attention to the code. Business logic
And, frequent system launch may lead to certain service pauses, and for complex business systems, there may even be more problems that cannot be reproduced, resulting in poor user experience
Moreover, developers rewrite the code log and release it online, which may also introduce new system problems

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
  • Application system log output method and device
  • Application system log output method and device
  • Application system log output method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0033] figure 1 is a schematic diagram of the main flow of the method for applying system log output according to an embodiment of the present invention, such as figure 1 As shown, the method for applying system log output in the embodiment of the present invention mainly includes:

[0034] Step S101: Obtain the source code of the application system, and determine the lo...

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 application system log output method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a source code of an application system, and determining log information for configuring the source code, wherein the log information is determined according to a log output demand of the application system;pre-compiling the source code for configuring the log information to obtain a pre-compiled code; and distributing the pre-compiled codes to a virtual machine where the application system is located.According to the method, log output of the Java application system can be realized under the conditions of not modifying a source code and not needing to be online again, and the stability of the application system is ensured. And the user experience is improved. The burden of developers is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for outputting application system logs. Background technique [0002] The log in the Java application system records important information of the system, such as error information in the system, information with business meaning, information that developers want to record, and so on. When an error occurs in the online system, developers can check the system through logs, so that they can quickly locate the problem and solve the online problem. [0003] In the prior art, a Java application system uses a log framework to write log information, such as the Log4j log framework. This log writing method requires developers to perform log output during code writing. But after the system goes online, if the developer forgets to write the corresponding log, the application system can no longer output the corresponding log. If you did not write the output log when w...

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): G06F8/41
CPCG06F8/41
Inventor 吴青海
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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