Log file obtaining method and device and storage medium

A log file and acquisition method technology, applied in the computer field, can solve the problems of occupying server storage space, consuming the time and energy of technicians, and large log files, and achieve the effects of reducing file size, saving storage space, and improving positioning efficiency.

Active Publication Date: 2019-09-13
TENCENT TECH CHENGDU
View PDF11 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the obtained log files are usually large, and when uploaded to the server, it will occupy a large amount of storage space on the server, and it takes a lot of time and energy for technicians to determine the problems existing in the application based on the uploaded log files. Therefore, it is urgent to provide a new log file acquisition method

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 file obtaining method and device and storage medium
  • Log file obtaining method and device and storage medium
  • Log file obtaining method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] Please refer to figure 1 , which shows the implementation environment involved in the log file acquisition method provided by the embodiment of the present invention, see figure 1 , the implementation environment includes: a terminal 101 , an application server 102 and a management server 103 .

[0049]Wherein, various application programs are installed in the terminal 101, including game application programs, shopping application programs, navigation application programs and so on. Various application programs installed in the terminal can be accessed in the SDK (Software Development Kit, Software Development Kit) provided by the embodiment of the present invention. Based on the SDK, the client of the application program can c...

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 a log file obtaining method and device and a storage medium, and belongs to the technical field of computers. The method comprises the steps that when detecting that an appointed application program is started, sending a configuration request to an application server, and using the configuration request for the application server to obtain configuration information and return the configuration information; when configuration information is received, screening out a target log file from locally cached log files according to the configuration information; and uploading the target log file to an application server. The configuration request is sent to the application server, the configuration information is obtained, the target log file is screened out according to theconfiguration information, and then the target log file is uploaded to the application server. Due to the fact that the cached log files are not completely uploaded to the application server, the screened target log files are uploaded, the file size of the uploaded log files is reduced, the storage space of the server is saved, and the positioning efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a log file acquisition method, device and storage medium. Background technique [0002] A log file is a file that records events that occur while the application is running. In order to facilitate the monitoring of the running status of the application, the terminal will write every event that occurs during the running of the application into the log file. Common types of log files include normal log files, processed exception log files, and unhandled exception log files. Since the log file is the key for technicians to repair the vulnerabilities in the application program, it is necessary to obtain the log file and upload the obtained log file. [0003] At present, related technologies will obtain all log files in the cache directory, and upload all log files to the server. [0004] However, the obtained log files are usually large, and when uploaded to the server, it will ...

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/17G06F16/172G06F16/14
CPCG06F16/1734G06F16/172G06F16/148Y02D10/00
Inventor 周文欢
Owner TENCENT TECH CHENGDU
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