CN109450689A - A kind of log Method of printing, device, storage medium and computer equipment - Google Patents
A kind of log Method of printing, device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN109450689A CN109450689A CN201811378799.2A CN201811378799A CN109450689A CN 109450689 A CN109450689 A CN 109450689A CN 201811378799 A CN201811378799 A CN 201811378799A CN 109450689 A CN109450689 A CN 109450689A
- Authority
- CN
- China
- Prior art keywords
- information
- protocol layer
- level parameter
- layers
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/044—Network management architectures or arrangements comprising hierarchical management structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3034—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of log Method of printing, device, storage medium and computer equipments, can be layered print log.The described method includes: receive data processing request enter protocol layer processing when, when saving the information that each protocol layer parses, increase the level parameter that the information corresponds to protocol layer;When print log file, the information of corresponding protocol layer is printed according to the level parameter that the needs of setting print.Developer can be made to track the execution of I/O instruction, quick analyzing and positioning problem according to log information in problem analysis using layering Method of printing using the embodiment of the present invention.
Description
Technical field
The present invention relates to computer technology, espespecially a kind of log Method of printing, device, storage medium and computer equipment.
Background technique
In current distributed memory system, the memory block business that externally provides is serviced using iScsi, and iScsi is serviced
It is to be realized by tgt module, existing tgt log submodule level parameter is more chaotic, the log of more pure digi-tal occurs
Information, every information are not divided according to corresponding software layer grade, cause developer and field maintenance person can not root
Service related information is accurately searched according to log content, has seriously affected positioning problems.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of log Method of printing, device, storage medium and calculating
Machine equipment can be layered print log.
In order to reach the object of the invention, the present invention provides a kind of log Method of printings, which comprises
Receive data processing request enter protocol layer processing when, when saving the information that each protocol layer parses, increase
The information corresponds to the level parameter of protocol layer;
When print log file, the information of corresponding protocol layer is printed according to the level parameter that the needs of setting print.
In a kind of exemplary embodiment, the level parameter for increasing the information and corresponding to protocol layer, comprising:
Increase the level parameter of the protocol layer in the printing interface that the information corresponds to protocol layer.
It is described when saving the information that each protocol layer parses in a kind of exemplary embodiment, increase the information pair
Answer the level parameter of protocol layer, comprising:
The iScsi layers of one or more of information parsed: Target title, the address Initior are saved, and described
Increase described iScsi layers of level parameter in iScsi layers of printing interface;
The Scsi layers of one or more of information parsed: Scsi instruction type, command content are saved, and described
Increase described Scsi layers of level parameter in Scsi layers of printing interface;
Save the Bs layer instruction parsed join the team information, instruct out team's information, logical volume id, command length, request length,
Data offset, and increase in Bs layers of the printing interface described Bs layers of level parameter.
In a kind of exemplary embodiment, the level parameter that the needs according to setting print prints corresponding protocol layer
Information, comprising:
The level parameter that the needs of setting print is saved as global variable by tgtd finger daemon, calls printing interface printing
When log information, the level parameter printed is needed to match with the level parameter in each protocol layer printing interface by described,
The information of respective protocol layer is printed when successful match into journal file.
In order to reach the object of the invention, the present invention also provides a kind of log printing equipment, described device includes saving mould
Block and print module, in which:
The preserving module saves each protocol layer solution when entering protocol layer processing for receiving data processing request
When the information of precipitation, increase the level parameter that the information corresponds to protocol layer;
The print module, when being used for print log file, the level parameter printing printed according to the needs of setting is corresponded to
The information of protocol layer.
In a kind of exemplary embodiment, the preserving module increases the level parameter that the information corresponds to protocol layer, packet
It includes:
The preserving module increases the level parameter of the protocol layer in the printing interface that the information corresponds to protocol layer.
In a kind of exemplary embodiment, when the preserving module saves the information that each protocol layer parses, increase institute
State the level parameter that information corresponds to protocol layer, comprising:
The preserving module saves the iScsi layers of one or more of information parsed: Target title, Initior
Address, and increase in iScsi layers of the printing interface described iScsi layers of level parameter;
The preserving module saves the Scsi layers of one or more of information parsed: in Scsi instruction type, instruction
Hold, and increases described Scsi layers of level parameter in Scsi layers of the printing interface;
The preserving module save the Bs layer instruction parsed join the team information, instruct out team's information, logical volume id, instruction to grow
Degree requests length, data offset, and increases described Bs layers of level parameter in Bs layers of the printing interface.
In a kind of exemplary embodiment, the level parameter printing that the print module is printed according to the needs of setting is corresponded to
The information of protocol layer, comprising:
The level parameter that the needs of setting print is saved as global variable by the tgtd finger daemon in print module, is called
When printing interface print log information, the level in the level parameter for needing to print and each protocol layer printing interface is joined
Number is matched, and the information of printing respective protocol layer is into journal file when successful match.
In order to reach the object of the invention, the present invention also provides a kind of computer readable storage mediums, are stored thereon with meter
Calculation machine program, which is characterized in that the step of above method is realized when the program is executed by processor.
In order to reach the object of the invention, the present invention also provides a kind of computer equipment, including memory, processor and
Store the computer program that can be run on a memory and on a processor, which is characterized in that the processor executes the journey
The step in the above method is realized when sequence.
Compared with prior art, the present invention includes when receiving data processing request to enter protocol layer processing, saving each
When the information that protocol layer parses, increase the level parameter that the information corresponds to protocol layer;When print log file, according to setting
The level parameter that prints of needs print corresponding protocol layer information using layering Method of printing, developer can be made to analyze
The execution of I/O instruction, quick analyzing and positioning problem are tracked when problem according to log information.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the log Method of printing of the embodiment of the present invention one;
Fig. 2 is the flow chart of the log Method of printing step 1 of the embodiment of the present invention two;
Fig. 3 is the flow chart of the log Method of printing step 2 of the embodiment of the present invention two;
Fig. 4 is the structural schematic diagram of the log printing equipment of the embodiment of the present invention three;
Fig. 5 is the structural schematic diagram of the computer equipment of the embodiment of the present invention three.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
Embodiment one
A kind of log Method of printing is present embodiments provided, the method includes S11-S12 as shown in Figure 1, being somebody's turn to do:
S11, receive data processing request enter protocol layer processing when, when saving the information that each protocol layer parses,
Increase the level parameter that the information corresponds to protocol layer;
When S12, print log file, the information of corresponding protocol layer is printed according to the level parameter that the needs of setting print.
In the embodiment of the present invention, using layering Method of printing, developer can be made to be believed in problem analysis according to log
The execution of breath tracking I/O instruction, quick analyzing and positioning problem.
Data processing request includes read request and/or write request in a kind of exemplary embodiment.
In a kind of exemplary embodiment, the level parameter for increasing the information and corresponding to protocol layer, comprising:
Increase the level parameter of the protocol layer in the printing interface that the information corresponds to protocol layer.
It is described when saving the information that each protocol layer parses in a kind of exemplary embodiment, increase the information pair
Answer the level parameter of protocol layer, comprising:
The iScsi layers of one or more of information parsed: Target title, the address Initior are saved, and described
Increase described iScsi layers of level parameter in iScsi layers of printing interface;
The Scsi layers of one or more of information parsed: Scsi instruction type, command content are saved, and described
Increase described Scsi layers of level parameter in Scsi layers of printing interface;
Save the Bs layer instruction parsed join the team information, instruct out team's information, logical volume id, command length, request length,
Data offset, and increase in Bs layers of the printing interface described Bs layers of level parameter.
In a kind of exemplary embodiment, a kind of memory technology based under internet and Scsi agreement, iScsi layers,
Scsi layers, Bs layers, Target title, the address Initior meaning difference it is as follows:
A kind of Scsi: independent processor standard for system-level interface between computer and smart machine;
Bs layers: rear end storage;
Target: storage equipment, iScsi target side can simply be interpreted as server-side;
Initior:iScsi start end can simply be interpreted as client;
In a kind of exemplary embodiment, if increase level ginseng after parsing Target title, the address Initiator
Number, comprising: define level list, each layer of level parameter replaced in level parameter with a character string (such as " log1:
Iscsi init_ip:xxx target_name:xxx "), while each layer all corresponds to a numerical value, such as 1 generation in tgt module
Iscsi layers of table, 2 represent scsi layers, and 3 represent bs layers.
In a kind of exemplary embodiment, described instruction join the team information, instruct out team's information to refer to instruction in implementation procedure
In have inbound message queue, outbound message queue two operation.
In a kind of exemplary embodiment, the letter of corresponding protocol layer is printed according to the level parameter that the needs of setting print
Breath, further includes: in each layer of printing one or more of information: I/O instruction.
In a kind of exemplary embodiment, the level parameter that the needs according to setting print prints corresponding protocol layer
Information, comprising:
The level parameter that the needs of setting print is saved as global variable by tgtd finger daemon, calls printing interface printing
When log information, the level parameter printed is needed to match with the level parameter in each protocol layer printing interface by described,
The information of respective protocol layer is printed when successful match into journal file.
Tgt is to create, safeguarding that SCSI Target drives (including iSCSI, FC, SRP etc.) to provide support.In other words
It says, block device, file can be converted to SCSI LU and provide in the SAN such as iSCSI, iSER common transmission mode to access by it
These LU.IScsi service iScsi technology is one can refer to for what hardware device used in the SCSI that the upper layer of IP agreement is run
Collection is enabled, this instruction set may be implemented to run SCSI protocol on ip networks, can be in such as high speed gigabit Ethernet
On be routed.
In the embodiment of the present invention, when receiving data processing request and entering protocol layer processing, the parsing of each protocol layer is saved
When information out, increase the level parameter that the information corresponds to protocol layer;When print log file, need to print according to setting
Level parameter print the information of corresponding protocol layer.Using layering Method of printing, developer's root in problem analysis can be made
According to the execution of log information tracking I/O instruction, quick analyzing and positioning problem.
Embodiment two
Above-described embodiment method is specifically described in the present embodiment.The present embodiment proposes a kind of based on distributed storage
Tgt log module be layered Method of printing, software layer grade of the existing log information according to belonging to it is divided, to level
Parameter is extended, and shows an I/O instruction its corresponding state, corresponding Target title, Initior in the process of implementation
Address, command content, request length, corresponding thread information, increase log level and interface are arranged, enable positioning problems personnel
The whole process for clearly perceiving I/O execution, is rapidly performed by positioning problems, to meet tgt in distributed memory system
The log of module prints demand.
(1) receive data processing request enter protocol layer processing when, when saving the information that each protocol layer parses, increase
The information is added to correspond to the level parameter of protocol layer;
Software level is divided in tgt module, increases specific level parameter in the log printing interface of each level,
Realize tgt log module information layered.
As shown in Fig. 2, the end Target is upon receiving a request, into iScsi layers, it is corresponding that request is parsed in the layer
Target title, the address initior, and be saved into message structure body, it uses so that context prints, is beaten in the layer
It prints and is passed to iScsi level parameter in interface.Subsequently into Scsi layers, in the printing interface of this layer, it is passed to Scsi level parameter,
Scsi instruction type is parsed, character string is converted by instruction type and prints.Enter Bs layers later, when instruction joins the team, goes out team
Increase level parameter and is passed to Bs level parameter in printing interface.
(2) when print log file, the information of corresponding protocol layer is printed according to the level parameter that the needs of setting print;
In tgt module, log level setting command is increased newly, it being capable of selectable print log.
As shown in figure 3, increasing tgt log level setting command newly in storage system, user is beaten by command selection needs
The hierarchical data of the log level of print, setting can be saved in tgtd finger daemon.Program when calling printing interface can will beat
The incoming level parameter of print interface is matched with the hierarchical data by order setting, and meeting condition, then this printing can save
It is on the contrary then return into journal file, printing is not executed, so can manage beating for log by setting log level order
Print.
The log that tgt module is managed using layering Method of printing can allow user clearly to perceive I/O execution
Implementation procedure and process software level, while can also have selection certain several software layer grade is printed in journal file
Information is user-friendly for positioning problems and information sifting.
In the embodiment of the present invention, the concept of software level is introduced, the level parameter in tgt module is layered, it is clear
I/O instruction paths traversed, and instruction corresponding details, while newly-increased tgt log layer in the process of implementation in itself
Grade setting interface, user can selectively print the log of certain several level by interface.
Embodiment three
A kind of log printing equipment is present embodiments provided, description is also applied for the present embodiment in above method embodiment
In, as shown in figure 4, the device includes preserving module 41 and print module 42, in which:
The preserving module 41 saves each protocol layer when entering protocol layer processing for receiving data processing request
When the information parsed, increase the level parameter that the information corresponds to protocol layer;
The print module 42, when being used for print log file, the level parameter printed according to needs of setting is printed pair
Answer the information of protocol layer.
In a kind of exemplary embodiment, the preserving module 41 increases the level parameter that the information corresponds to protocol layer,
Include:
The preserving module 41 increases the level ginseng of the protocol layer in the printing interface that the information corresponds to protocol layer
Number.
In a kind of exemplary embodiment, when the preserving module 41 saves the information that each protocol layer parses, increase
The information corresponds to the level parameter of protocol layer, comprising:
The iScsi layers of one or more of information parsed of the preservation of preserving module 41: Target title,
The address Initior, and increase in iScsi layers of the printing interface described iScsi layers of level parameter;
The preserving module 41 saves the Scsi layers of one or more of information parsed: Scsi instruction type, instruction
Content, and increase in Scsi layers of the printing interface described Scsi layers of level parameter;
The preserving module 41 save the Bs layer instruction parsed join the team information, instruct out team's information, logical volume id, instruct
Length requests length, data offset, and increases described Bs layers of level parameter in Bs layers of the printing interface.
In a kind of exemplary embodiment, level parameter printing pair that the print module 42 is printed according to the needs of setting
Answer the information of protocol layer, comprising:
The level parameter that the needs of setting print is saved as global change by the tgtd finger daemon in the print module 42
Amount will be in the level parameter that need to print and each protocol layer printing interface when calling printing interface print log information
Level parameter matched, the information of printing respective protocol layer is into journal file when successful match.
The embodiment of the present invention also provides a kind of computer storage medium, and the computer storage medium is stored with computer journey
Sequence;After the computer program is performed, the log Method of printing of previous embodiment offer can be realized, for example, executing such as Fig. 1
Shown method.
The embodiment of the present invention also provides a kind of computer equipment, can be structure as shown in Figure 5, including processor
51, memory 52 and storage on a memory and the computer program that can run on a processor, processor execution institute
Part or Overall Steps in embodiment one or embodiment two can be realized when stating program.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Claims (10)
1. a kind of log Method of printing, which is characterized in that the described method includes:
Receive data processing request enter protocol layer processing when, when saving the information that each protocol layer parses, described in increase
Information corresponds to the level parameter of protocol layer;
When print log file, the information of corresponding protocol layer is printed according to the level parameter that the needs of setting print.
2. the method according to claim 1, wherein the level ginseng for increasing the information and corresponding to protocol layer
Number, comprising:
Increase the level parameter of the protocol layer in the printing interface that the information corresponds to protocol layer.
3. according to the method described in claim 2, increasing it is characterized in that, described when saving the information that each protocol layer parses
The information is added to correspond to the level parameter of protocol layer, comprising:
The iScsi layers of one or more of information parsed: Target title, the address Initior are saved, and described
Increase described iScsi layers of level parameter in iScsi layers of printing interface;
The Scsi layers of one or more of information parsed: Scsi instruction type, command content are saved, and Scsi layers described
Printing interface in increase described Scsi layers of level parameter;
Save the Bs layer instruction parsed join the team information, instruct out team's information, logical volume id, command length, request length, data
Offset, and increase in Bs layers of the printing interface described Bs layers of level parameter.
4. the method according to claim 1, wherein the level parameter printing that the needs according to setting print
The information of corresponding protocol layer, comprising:
The level parameter that the needs of setting print is saved as global variable by tgtd finger daemon, calls printing interface print log
When information, needs the level parameter printed to match with the level parameter in each protocol layer printing interface for described, match
The information of printing respective protocol layer is into journal file when success.
5. a kind of log printing equipment, which is characterized in that described device includes preserving module and print module, in which:
The preserving module saves each protocol layer and parses when entering protocol layer processing for receiving data processing request
Information when, increase the level parameter that the information corresponds to protocol layer;
The print module when being used for print log file, prints corresponding agreement according to the level parameter that the needs of setting print
The information of layer.
6. device according to claim 5, which is characterized in that the preserving module increases the information and corresponds to protocol layer
Level parameter, comprising:
The preserving module increases the level parameter of the protocol layer in the printing interface that the information corresponds to protocol layer.
7. device according to claim 6, which is characterized in that the preserving module saves the letter that each protocol layer parses
When breath, increase the level parameter that the information corresponds to protocol layer, comprising:
The preserving module saves the iScsi layers of one or more of information parsed: Target title, the address Initior,
And increase described iScsi layers of level parameter in iScsi layers of the printing interface;
The preserving module saves the Scsi layers of one or more of information parsed: Scsi instruction type, command content, and
Increase described Scsi layers of level parameter in Scsi layers of the printing interface;
The preserving module save the Bs layers of instruction parsed join the team information, instruct out team's information, logical volume id, command length,
Length, data offset are requested, and increases described Bs layers of level parameter in Bs layers of the printing interface.
8. device according to claim 5, which is characterized in that the level that the print module is printed according to the needs of setting
Parameter prints the information of corresponding protocol layer, comprising:
The level parameter that the needs of setting print is saved as global variable by the tgtd finger daemon in the print module, is called
When printing interface print log information, the level in the level parameter for needing to print and each protocol layer printing interface is joined
Number is matched, and the information of printing respective protocol layer is into journal file when successful match.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The step of any one of claim 1-4 the method is realized when row.
10. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that realize that any one of claim 1-4 right such as is wanted when the processor executes described program
Seek the step in the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811378799.2A CN109450689B (en) | 2018-11-19 | 2018-11-19 | Log printing method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811378799.2A CN109450689B (en) | 2018-11-19 | 2018-11-19 | Log printing method and device, storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109450689A true CN109450689A (en) | 2019-03-08 |
CN109450689B CN109450689B (en) | 2022-02-22 |
Family
ID=65553258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811378799.2A Active CN109450689B (en) | 2018-11-19 | 2018-11-19 | Log printing method and device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109450689B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825069A (en) * | 2019-11-07 | 2020-02-21 | 德明通讯(上海)有限责任公司 | Fault detection method and system for rapidly positioning OBD equipment fault |
CN112596993A (en) * | 2020-12-17 | 2021-04-02 | 杭州安恒信息技术股份有限公司 | Log layering method, system, readable storage medium and computer equipment |
WO2021155683A1 (en) * | 2020-09-22 | 2021-08-12 | 平安科技(深圳)有限公司 | Log printing method and apparatus, electronic device, and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11122306A (en) * | 1997-10-20 | 1999-04-30 | Matsushita Electric Ind Co Ltd | Dial-up router |
EP1361699A1 (en) * | 2002-04-30 | 2003-11-12 | Canon Kabushiki Kaisha | Method and system for monitoring of a network device |
CN1642097A (en) * | 2004-01-02 | 2005-07-20 | 联想(北京)有限公司 | Journal accounting method and system |
JP2009159137A (en) * | 2007-12-25 | 2009-07-16 | Duaxes Corp | Protocol converting apparatus |
CN102047717A (en) * | 2008-03-28 | 2011-05-04 | 爱立信电话股份有限公司 | Method and system for telecommunications using layer 3 packets obtained from a sequence of layer 2 radio link control layer data frames |
CN103392207A (en) * | 2011-10-05 | 2013-11-13 | Lsi公司 | Self-journaling and hierarchical consistency for non-volatile storage |
CN105335434A (en) * | 2014-08-11 | 2016-02-17 | 腾讯科技(北京)有限公司 | Log management method and device, and electronic equipment |
CN106571896A (en) * | 2016-11-11 | 2017-04-19 | 西安长远电子工程有限责任公司 | Radar communication method |
CN107577577A (en) * | 2017-09-13 | 2018-01-12 | 郑州云海信息技术有限公司 | Method, apparatus, system and the computer-readable recording medium of log-rank printing |
CN107577771A (en) * | 2017-09-07 | 2018-01-12 | 北京海融兴通信息安全技术有限公司 | A kind of big data digging system |
CN107645562A (en) * | 2017-10-12 | 2018-01-30 | 广州爱九游信息技术有限公司 | Data transmission processing method, device, equipment and system |
-
2018
- 2018-11-19 CN CN201811378799.2A patent/CN109450689B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11122306A (en) * | 1997-10-20 | 1999-04-30 | Matsushita Electric Ind Co Ltd | Dial-up router |
EP1361699A1 (en) * | 2002-04-30 | 2003-11-12 | Canon Kabushiki Kaisha | Method and system for monitoring of a network device |
CN1642097A (en) * | 2004-01-02 | 2005-07-20 | 联想(北京)有限公司 | Journal accounting method and system |
JP2009159137A (en) * | 2007-12-25 | 2009-07-16 | Duaxes Corp | Protocol converting apparatus |
CN102047717A (en) * | 2008-03-28 | 2011-05-04 | 爱立信电话股份有限公司 | Method and system for telecommunications using layer 3 packets obtained from a sequence of layer 2 radio link control layer data frames |
CN103392207A (en) * | 2011-10-05 | 2013-11-13 | Lsi公司 | Self-journaling and hierarchical consistency for non-volatile storage |
CN105335434A (en) * | 2014-08-11 | 2016-02-17 | 腾讯科技(北京)有限公司 | Log management method and device, and electronic equipment |
CN106571896A (en) * | 2016-11-11 | 2017-04-19 | 西安长远电子工程有限责任公司 | Radar communication method |
CN107577771A (en) * | 2017-09-07 | 2018-01-12 | 北京海融兴通信息安全技术有限公司 | A kind of big data digging system |
CN107577577A (en) * | 2017-09-13 | 2018-01-12 | 郑州云海信息技术有限公司 | Method, apparatus, system and the computer-readable recording medium of log-rank printing |
CN107645562A (en) * | 2017-10-12 | 2018-01-30 | 广州爱九游信息技术有限公司 | Data transmission processing method, device, equipment and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825069A (en) * | 2019-11-07 | 2020-02-21 | 德明通讯(上海)有限责任公司 | Fault detection method and system for rapidly positioning OBD equipment fault |
WO2021155683A1 (en) * | 2020-09-22 | 2021-08-12 | 平安科技(深圳)有限公司 | Log printing method and apparatus, electronic device, and storage medium |
CN112596993A (en) * | 2020-12-17 | 2021-04-02 | 杭州安恒信息技术股份有限公司 | Log layering method, system, readable storage medium and computer equipment |
CN112596993B (en) * | 2020-12-17 | 2023-06-20 | 杭州安恒信息技术股份有限公司 | Log layering method, system, readable storage medium and computer device |
Also Published As
Publication number | Publication date |
---|---|
CN109450689B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109450689A (en) | A kind of log Method of printing, device, storage medium and computer equipment | |
CN109395400B (en) | Cross-game chat information processing method and device, electronic equipment and storage medium | |
CN105681217B (en) | Dynamic load balancing method and system for container cluster | |
US9032016B2 (en) | Communication method and apparatus | |
EP3288269A1 (en) | Method and system for cloud-based storage of video, and method and system for previewing cloud-stored video | |
EP3618352B1 (en) | Virtual machine management | |
CN107426258A (en) | A kind of upload of image file and method for down loading and device | |
CN112783857B (en) | Data blood-margin management method and device, electronic equipment and storage medium | |
CN108737467A (en) | A kind of server log inspection method, device and system | |
CN108877899A (en) | The processing method and server of DICOM image | |
US20090222569A1 (en) | Storage system front end | |
US8806051B2 (en) | Multimedia file sharing method and system thereof | |
US10372552B2 (en) | Variable number and size of put operations for storage backup | |
CN109618225A (en) | Video takes out frame method, device, equipment and medium | |
CN109858243A (en) | The method and apparatus for tracking viral source | |
CN109710439A (en) | Fault handling method and device | |
CN105610917B (en) | Method and system for realizing synchronous data repair in system | |
CN108965054A (en) | A kind of client and service end data rapid interactive method | |
CN107181773A (en) | Data storage and data managing method, the equipment of distributed memory system | |
CN103491141B (en) | Application server and request processing method | |
CN106506641A (en) | A kind of ident value extracting method of client device and device | |
CN109714208A (en) | A kind of equipment is included in method, storage medium and the electronic equipment of network management | |
CN108768849A (en) | Message processing method and device | |
CN105939278B (en) | Traffic processing method and device | |
US20170262543A1 (en) | Method and system for improving sessions and open files enumerations by data structures changes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |