Unlock instant, AI-driven research and patent intelligence for your innovation.

Log output control method and system and computer readable storage medium

An output control and log technology, applied in the computer field, can solve problems such as prolonging business processing time, difficult to reproduce errors, and reducing user experience.

Inactive Publication Date: 2019-05-17
NUBIA TECHNOLOGY CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, not all errors will have detailed business logs for managers to analyze and troubleshoot, because if business logs are output frequently in business processing logic, it will not only prolong the time of each business processing, reduce user experience, but also increase The CPU and disk IO usage of the large server increases the load pressure on the business system
Therefore, the business system running on the actual line generally only outputs key business logs and possible abnormal logs, and does not output process data. Once an error occurs, it will be difficult to troubleshoot errors due to insufficient log data. situation
In the case of incomplete business logs, the backtracking code or the simulation test analysis in the offline test environment are often selected. However, because there is no real request data as support, it is often difficult to reproduce the errors that occur online, making the wrong Analysis and positioning into the bottleneck
[0004] Therefore, there is a problem in the existing technology that when the business log is output for a long time during normal business processing, it will take up business processing time, and when the output log data is not comprehensive, it is difficult to reproduce the problem of online errors.

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 output control method and system and computer readable storage medium
  • Log output control method and system and computer readable storage medium
  • Log output control method and system and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0030] figure 1 It is a flow chart of a log output method provided in the embodiment of the present application, and the log output method includes:

[0031] Step 102, monitor the amount of data in the publish-subscribe service channel in the cache component;

[0032] Step 104, in the case that the amount of data in the publish-subscr...

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 a log output method, a log output system and a computer readable storage medium. The log output control method comprises the following steps of monitoring a data volume in a published and subscribed service channel in a cache component; pulling a management background to newly add a log instruction set in the published and subscribed service channel under the condition that the data volume in the published and subscribed service channel is monitored to be changed; and increasing or stopping the output of the business log according to the type of the log instruction set. According to the method provided by the embodiment of the invention, according to the type of the received log instruction set, the online service system outputs the detailed service logs for investigation and analysis after errors occur, service log output is reduced as much as possible during the normal service processing, the investigation and positioning of online errors are accelerated, theload pressure of the service system is reduced, and the use experience of a user is guaranteed.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a log output control method, system, and computer-readable storage medium. Background technique [0002] With the development of the Internet, the development of online business services is booming. When users use the online business service system, errors (bugs) often occur in the business system, which seriously affects the user experience, and management personnel need to deal with it in a timely manner. When managers deal with errors, the first task is to troubleshoot and locate the possible causes of errors. Commonly used error troubleshooting methods include checking the memory and CPU (central processing unit) usage of the server where the business system is located, and backtracking program code business logic, tracking the business logs output by the business system, etc. [0003] Among the several troubleshooting methods mentioned above, tracking business service...

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/30
Inventor 邹炜
Owner NUBIA TECHNOLOGY CO LTD