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

Log printing method and system, computer equipment and computer readable storage medium

A log printing and computer program technology, applied in the computer field, can solve problems such as log jar package conflicts, and achieve the effect of flexible log printing

Active Publication Date: 2019-10-08
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of this disclosure is to provide a log printing method, system, computer equipment and computer-readable storage medium, to at least solve the defect in the prior art that the call of the jar package between the systems conflicts with the log jar package originally called by the caller

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 A flow chart of a log printing method according to an embodiment of the present disclosure is schematically shown.

[0028] like figure 1 As shown, the log printing method in Embodiment 1 may include steps S101 to S103, wherein:

[0029] In step S101, a log printing configuration file is obtained in response to a log printing signal triggered by the calling system.

[0030] A system applying the log printing method of the present disclosure may be called a called system, and the calling system may call the log printing function of the called system. Before obtaining the log printing configuration file in response to the log printing signal triggered by the invoking system, the log printing method may further include: receiving a connection request sent by the invoking system, obtaining a connection identifier in the connection request; judging whether the invoking system has connection authority; and if it is determined that the calling system has the connec...

Embodiment 2

[0043] exist figure 1 In the second embodiment, the log printing method may include step S101, step S102 and step S104, wherein:

[0044] In step S101, a log printing configuration file is obtained in response to a log printing signal triggered by the calling system.

[0045] A system applying the log printing method of the present disclosure may be called a called system, and the calling system may call the log printing function of the called system. Before obtaining the log printing configuration file in response to the log printing signal triggered by the invoking system, the log printing method may further include: receiving a connection request sent by the invoking system, obtaining a connection identifier in the connection request; judging whether the invoking system has connection authority; and if it is determined that the calling system has the connection authority, the connection is allowed.

[0046] Specifically, when the calling system wants to use the log printi...

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 the technical field of computers, in particular to a log printing method, which comprises the steps: obtaining a log printing configuration file in response to a log printingsignal triggered by calling a system; judging whether a log printing mode is specified in the log printing configuration file or not; and if it is judged that the log printing mode is specified in thelog printing configuration file, determining a preset interface corresponding to the log printing mode, reading the log printing requirement from the calling system through the preset interface, andprinting the to-be-printed log according to the log printing requirement. The invention further provides a log printing system, computer equipment and a computer readable storage medium.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a log printing method, system, computer equipment and computer-readable storage medium. Background technique [0002] Currently, the system realizes the log printing function by calling the third-party log jar package. There is such a situation in the prior art that if the caller system needs to use the jar package of the callee system to realize the log printing function, at this time, the caller system itself has called a third-party log jar package such as logback to realize part of the The log printing function, and the jar package that can realize the log printing function in the called system also realizes the log printing function by calling a third-party log jar package such as log4j, so that it can be realized in the calling system calling the called system When using the jar package of the log printing function, the caller must additionally introduce the log4j called...

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/1253G06F3/126G06F3/1273
Inventor 田畔
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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