Method and device for storing logs

A log and storage path technology, applied in the computer field, can solve the problems of complex operation and low efficiency, and achieve the effect of improving log storage efficiency

Active Publication Date: 2014-03-05
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing log storage method, the path configuration file is statically configured, and the log storage path needs to be manually modified in the path configuration file of the virtual server to be stored. Therefore, the existing log storage method is complex and efficient. Low

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 device for storing logs
  • Method and device for storing logs
  • Method and device for storing logs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be described in more detail and complete below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0019] figure 1 It is an implementation flowchart of a method for storing logs provided in the first embodiment of the present invention. The method provided by the embodiment of the present invention can be executed by the device for storing logs provided by the embodiment of the present invention, and the device can be implemented by software and / or hardware. Such as figure 1 As shown, the method provided by the embodiment of the present invention includes:

[0020] Step 101. For a virtual server to sto...

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 method and device for storing logs. The method includes the steps of as for a virtual server where the logs are to be stored, obtaining identification of the virtual server from internal storage of a device which the virtual server belongs to, allocating a log storage path for the virtual server according to the identification and log storage path parameters in a path allocation file in the device which the virtual server belongs to, and storing the logs of the virtual server according to the allocated log storage path. According to the method, dynamic allocation of the log storage path of the virtual server is achieved, and the log storage efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for storing logs. Background technique [0002] With the rapid development of computer technology, the application of computer system logs in monitoring server system resources has attracted much attention. The log storage method of the computer system has become an important issue affecting the work efficiency of the computer system. [0003] The existing method for storing logs includes: starting a virtual server to store logs; configuring a log storage path in a path configuration file in the device to which the virtual server belongs; and storing logs of the virtual server according to the configured log storage path. [0004] In the existing method for storing logs, the path configuration file is statically configured, and the log storage path needs to be manually modified in the path configuration file of the virtual server to be stored. Therefore, th...

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): G06F17/30
CPCG06F3/0635G06F3/0667
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