Method and system for obtaining server logs

A server and server identification technology, applied in the computer field, can solve the problems of frequent server program code release cycles, occupying the daily work time of operation and maintenance personnel, and low efficiency in troubleshooting errors, so as to flatten concurrent server logs, reduce impact, and improve efficiency. Effect

Inactive Publication Date: 2016-11-16
NUBIA TECHNOLOGY CO LTD
View PDF6 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the expansion of the project, the number of servers in the project is increasing, and the code release cycle of the server program is becoming more and more frequent. As a result, the operation and maintenance personnel need to frequently log in to multiple servers to view logs, which takes up a lot of daily work of the operation and maintenance personnel. time and low work efficiency
In addition, when the operation and maintenance personnel are not on site, programmers cannot use server logs to troubleshoot errors, resulting in low efficiency of troubleshooting

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
  • Method and system for obtaining server logs
  • Method and system for obtaining server logs
  • Method and system for obtaining server logs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0025] The system for obtaining server logs for implementing various embodiments of the present invention will now be described with reference to the accompanying drawings, such as figure 1 As shown, the system includes at least one log server 110 and multiple working servers 120. The working server 110 is configured to send server logs generated by itself to the log server 120.

[0026] In each embodiment of the present invention, the server log contains log type information, and the log type information corresponds to the item to which the server log belongs.

[0027] In addition, the work server 110 is also used to filter the server logs generated by itself, for example, filter the Nginx logs generated by itself into log files that only contain required fields.

[0028] The log server 120 is used to receive the server...

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 method and a system for obtaining server logs. The system comprises at least one log server and multiple working servers, wherein the working servers are used for sending generated server logs to the log server; and the log server is used for receiving the server logs from the working servers, storing the server logs locally, and when receiving a query request from a client, obtaining corresponding server logs locally and returning the obtained server logs to the client. According to the system, by collecting the server logs on the multiple working servers, intensively storing the collected server logs to one log server, and providing a query module for a user to view the server logs, the optimization on a procedure of querying the server logs is realized, and the efficiency of troubleshooting server program error is improved.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and system for obtaining server logs. Background technique [0002] The server log is used to record various information such as processing requests and operating errors received by the server. It is the main basis for programmers to troubleshoot server program errors on a daily basis. Through statistics, analysis and synthesis of server logs, it is also possible to effectively grasp the operating status of the server, understand the distribution of customer visits, and better strengthen the maintenance and management of the system. [0003] In the prior art, when an error occurs in the server program, the operation and maintenance personnel logs on to the corresponding server, cooperates with the programmer to view the log, and then investigates the cause of the error. With the expansion of the project, the number of servers in the project is increasing, and the cod...

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): H04L12/24
CPCH04L41/069H04L41/0654
Inventor 吴俊雄
Owner NUBIA TECHNOLOGY 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