CN111159128B - Log output method and device and computer readable storage medium - Google Patents

Log output method and device and computer readable storage medium Download PDF

Info

Publication number
CN111159128B
CN111159128B CN201911398121.5A CN201911398121A CN111159128B CN 111159128 B CN111159128 B CN 111159128B CN 201911398121 A CN201911398121 A CN 201911398121A CN 111159128 B CN111159128 B CN 111159128B
Authority
CN
China
Prior art keywords
log
preset
name
cache list
log information
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.)
Active
Application number
CN201911398121.5A
Other languages
Chinese (zh)
Other versions
CN111159128A (en
Inventor
苏志恒
张端
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201911398121.5A priority Critical patent/CN111159128B/en
Publication of CN111159128A publication Critical patent/CN111159128A/en
Application granted granted Critical
Publication of CN111159128B publication Critical patent/CN111159128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a log output method, a log output device and a log output medium, wherein when an interprocess communication instruction is received, whether a module name and a function name carried in the interprocess communication instruction meet preset requirements or not is checked; and storing the module name and the function name which meet the preset requirement into a preset data structure. When the log printing statement is run, whether a record matched with the target module name and the target function name to which the log printing statement belongs exists or not is inquired from the data structure. If yes, the log information corresponding to the name of the target module and the name of the target function is put into a log cache list. And when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file. The log to be printed is dynamically adjusted through the interprocess communication instruction, so that the output of a large amount of irrelevant log information is reduced. The processing efficiency of the log information is further improved by batch writing of the log information.

Description

Log output method and device and computer readable storage medium
Technical Field
The present invention relates to the field of distributed storage technologies, and in particular, to a method and an apparatus for outputting logs, and a computer-readable storage medium.
Background
In a distributed system, each submodule is provided with a corresponding log thread so as to facilitate problem positioning and function debugging, and after a submodule log is started through interprocess communication, a large amount of irrelevant log information can be output due to more printed statements of a function log, so that the difficulty of problem troubleshooting can be increased.
In order to reduce the printing of irrelevant logs, the most common scheme at present is to set the printing level of the log when a printing function is called, and to control the log output quantity by dynamically adjusting the level. Although the control log printing quantity can be realized by adjusting the log level, when the log level is smaller, the output log is limited, the problem is not positioned enough, the log output at the control function level is difficult to realize, and the problem positioning difficulty and efficiency are influenced by a large amount of log output or limited log output.
Therefore, how to reduce the output of a large amount of irrelevant log information and improve the efficiency of problem troubleshooting is a problem to be solved by those skilled in the art.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a log output method, apparatus, and computer-readable storage medium, which can reduce output of a large amount of irrelevant log information and improve efficiency of problem troubleshooting.
To solve the foregoing technical problem, an embodiment of the present invention provides a log output method, including:
when an interprocess communication instruction is received, checking whether a module name and a function name carried in the interprocess communication instruction meet a preset requirement or not;
when the module name and the function name meet preset requirements, storing the module name and the function name into a preset data structure;
when a log printing statement is run, inquiring whether a record matched with a target module name and a target function name to which the log printing statement belongs exists in the data structure;
if yes, putting the log information corresponding to the name of the target module and the name of the target function into a log cache list;
and when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file.
Optionally, when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file includes:
judging whether the data volume of the log information in the log cache list reaches a preset threshold value or not;
and if so, writing the log information in the log cache list into a preset log file, and clearing the log cache list.
Optionally, when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file includes:
judging whether the storage time of the log information in the log cache list reaches a preset time value or not;
and writing the target log information of which the storage time reaches a preset time value into a preset log file, and deleting the target log information from the log cache list.
Optionally, the method further comprises:
and when the module name and the function name do not accord with the preset requirement, displaying wrong prompt information of the module.
Optionally, after storing the module name and the function name in a preset data structure, the method further includes:
when a log closing instruction is received, whether a record matched with a module name carried in the log closing instruction exists or not is inquired from the data structure;
if so, deleting the record matched with the module name carried in the log closing instruction from the data structure;
if not, displaying the prompt information that the module name does not exist.
The embodiment of the invention also provides a log output device, which comprises an inspection unit, a storage unit, an inquiry unit, a cache unit and a write-in unit;
the checking unit is used for checking whether the module name and the function name carried in the interprocess communication instruction meet the preset requirement or not when the interprocess communication instruction is received;
the storage unit is used for storing the module name and the function name into a preset data structure when the module name and the function name meet preset requirements;
the query unit is used for querying whether a record matched with a target module name and a target function name to which the log printing statement belongs exists in the data structure when the log printing statement is run; if yes, triggering the cache unit;
the cache unit is used for putting the log information corresponding to the name of the target module and the name of the target function into a log cache list;
the writing unit is configured to write the log information in the log cache list into a preset log file when the log information recorded in the log cache list meets a preset condition.
Optionally, the writing unit is specifically configured to determine whether a data amount of log information in the log cache list reaches a preset threshold; and if so, writing the log information in the log cache list into a preset log file, and clearing the log cache list.
Optionally, the writing unit is specifically configured to determine whether storage time of log information in the log cache list reaches a preset time value; and writing the target log information of which the storage time reaches a preset time value into a preset log file, and deleting the target log information from the log cache list.
Optionally, the device further comprises a display unit;
and the display unit is used for displaying wrong prompt information of the module when the module name and the function name do not accord with the preset requirement.
Optionally, the system further comprises a deleting unit and a displaying unit;
the query unit is further used for querying whether a record matched with the module name carried in the log closing instruction exists in the data structure when the log closing instruction is received; if yes, triggering the deleting unit; if not, triggering the display unit;
the deleting unit is used for deleting the record matched with the module name carried in the log closing instruction from the data structure;
and the display unit is used for displaying the prompt information that the module name does not exist.
An embodiment of the present invention further provides a log output apparatus, including:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the log output method as described in any one of the above.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the log output method according to any one of the above items.
According to the technical scheme, when the interprocess communication instruction is received, whether the module name and the function name carried in the interprocess communication instruction meet the preset requirement or not is checked; and when the module name and the function name accord with the preset requirement, storing the module name and the function name into a preset data structure. The inter-process communication instruction is used to indicate log information required for printing. By recording the module name and the function name carried in the interprocess communication instruction in a preset data structure, when a log printing statement is operated, whether a record matched with a target module name and a target function name to which the log printing statement belongs exists or not can be inquired from the data structure. When a record matched with a target module name and a target function name to which a log printing statement belongs exists, putting log information corresponding to the target module name and the target function name into a log cache list; and when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file. Function-level logs of the module are dynamically adjusted through the interprocess communication instruction, so that the function-level logs inside the control module are printed in a thinning mode, the output of a large amount of irrelevant log information is reduced, the function debugging progress is accelerated, and the problem troubleshooting efficiency is improved. And the log information is put into the log cache list before the log file is written, so that the log information can be written in batch, and the processing efficiency of the log information is further improved.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a log output method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a log output apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a log output apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Next, a log output method provided by an embodiment of the present invention is described in detail. Fig. 1 is a flowchart of a log output method provided in an embodiment of the present invention, where the method includes:
s101: and when the interprocess communication instruction is received, checking whether the module name and the function name carried in the interprocess communication instruction meet the preset requirement or not.
In a distributed system, the form of the module name and the function name corresponding to each module is relatively fixed, so the preset requirements may include names or format requirements of the module name and the function name.
In the embodiment of the invention, the effective control on the log printing quantity can be realized by adopting a mode of thinning an interprocess communication instruction to a function name. It should be noted that, in the embodiment of the present invention, log printing refers to outputting log information, and log information is not printed on a paper-based document.
When the module name and the function name carried in the interprocess communication instruction meet the preset requirement, the module name and the function name input by the user are correct in form, and the process can enter S102.
S102: and storing the module name and the function name into a preset data structure.
In the embodiment of the present invention, a data structure for storing the module name and the function name may be set in advance. When storing, the module name and the function name can be stored according to the corresponding relation.
S103: when the log printing statement is run, whether a record matched with the target module name and the target function name to which the log printing statement belongs exists or not is inquired from the data structure.
The system running process comprises different types of functions, and when the function runs to a printing statement, the log information corresponding to the function needs to be output.
For convenience of distinction, in the embodiment of the present invention, the function name and the module name to which the log print statement belongs may be referred to as a target function name and a target module name.
In the embodiment of the present invention, a function that requires log information to be printed is defined, and therefore, when a log print statement is run, it is necessary to query whether a record matching the target module name and the target function name to which the log print statement belongs exists from a data structure.
In a specific implementation, whether a module name identical to a target module name is stored in a data structure or not can be firstly inquired; and when the same module name exists, inquiring whether the function name corresponding to the module name in the data structure contains the target function name.
If there is a record matching the target module name and the target function name to which the log print statement belongs, it indicates that the log information corresponding to the function needs to be output, and S104 may be executed.
S104: and putting the log information corresponding to the name of the target module and the name of the target function into a log cache list.
Considering that different module names may contain the same function name, the log information is printed based on the target module name and the target function name, and the corresponding log information is queried.
S105: and when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file.
The log information for the output may be written to a log file. In order to avoid frequent writing of log information, in the embodiment of the present invention, the log information may be put into a preset cache list.
The preset condition may be to limit the storage time of the log information in the buffer queue, or may be to limit the data amount of the log information in the buffer queue.
Taking the data amount of the log information as an example, in a specific implementation, it may be determined whether the data amount of the log information in the log cache list reaches a preset threshold.
The value of the preset threshold may be set according to actual requirements, and is not limited herein.
And when the data volume of the log information in the log cache list reaches a preset threshold value, writing the log information in the log cache list into a preset log file, and emptying the log cache list.
Taking the storage time of the log information as an example, in a specific implementation, it can be determined whether the storage time of the log information in the log cache list reaches a preset time value.
The preset time value may be set according to actual requirements, and is not limited herein.
And when the storage time of the log information in the log cache list reaches a preset time value, writing the target log information of which the storage time reaches the preset time value into a preset log file, and deleting the target log information from the log cache list.
According to the technical scheme, when the interprocess communication instruction is received, whether the module name and the function name carried in the interprocess communication instruction meet the preset requirement or not is checked; and when the module name and the function name accord with the preset requirement, storing the module name and the function name into a preset data structure. The inter-process communication instruction is used to indicate log information required for printing. By recording the module name and the function name carried in the interprocess communication instruction in a preset data structure, when a log printing statement is operated, whether a record matched with a target module name and a target function name to which the log printing statement belongs exists or not can be inquired from the data structure. When a record matched with a target module name and a target function name to which a log printing statement belongs exists, putting log information corresponding to the target module name and the target function name into a log cache list; and when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file. Function-level logs of the module are dynamically adjusted through the interprocess communication instruction, so that the function-level logs inside the control module are printed in a thinning mode, the output of a large amount of irrelevant log information is reduced, the function debugging progress is accelerated, and the problem troubleshooting efficiency is improved. And the log information is put into the log cache list before the log file is written, so that the log information can be written in batch, and the processing efficiency of the log information is further improved.
In the embodiment of the invention, when the interprocess communication instruction is received, if the module name and the function name are not in accordance with the preset requirements, the module name and the function name input by the user are not standard or the system does not have the name, so that the prompt information of module errors can be displayed for reminding the user in time.
By displaying the wrong prompt information of the module, the user can be reminded that the log printing is not successfully set, so that the user can conveniently reset the log printing.
As is clear from the above description, the module name and the function name of the log information to be printed are stored in the data structure. In practical application, the log information to be printed can be adjusted according to different requirements.
In a specific implementation, when the system receives a log closing instruction, whether a record matching the module name carried in the log closing instruction exists or not can be inquired from the data structure.
And when the record matched with the module name carried in the log closing instruction exists, deleting the record matched with the module name carried in the log closing instruction from the data structure, thereby ensuring that the log information corresponding to the module name and the function name is not printed any more subsequently.
When the record matched with the module name carried in the log closing instruction does not exist, the prompt information that the module name does not exist can be displayed.
By setting an adjusting mechanism, the log information to be printed can be dynamically adjusted, so that the log information can be printed more flexibly, and different service requirements can be met.
Fig. 2 is a schematic structural diagram of a log output apparatus according to an embodiment of the present invention, including a checking unit 21, a storing unit 22, an inquiring unit 23, a caching unit 24, and a writing unit 25;
the checking unit 21 is configured to check whether a module name and a function name carried in the interprocess communication instruction meet a preset requirement when the interprocess communication instruction is received;
the storage unit 22 is used for storing the module name and the function name into a preset data structure when the module name and the function name meet preset requirements;
the query unit 23 is configured to query, when a log print statement is executed, whether a record matching the target module name and the target function name to which the log print statement belongs exists in the data structure; if yes, the cache unit 24 is triggered;
a cache unit 24, configured to put log information corresponding to the name of the target module and the name of the target function into a log cache list;
the writing unit 25 is configured to, when the log information recorded in the log cache list meets a preset condition, write the log information in the log cache list into a preset log file.
Optionally, the writing unit is specifically configured to determine whether a data amount of the log information in the log cache list reaches a preset threshold; if so, writing the log information in the log cache list into a preset log file, and clearing the log cache list.
Optionally, the writing unit is specifically configured to determine whether storage time of the log information in the log cache list reaches a preset time value; and writing the target log information of which the storage time reaches the preset time value into a preset log file, and deleting the target log information from the log cache list.
Optionally, the device further comprises a display unit;
and the display unit is used for displaying wrong prompt information of the module when the module name and the function name do not accord with the preset requirement.
Optionally, the system further comprises a deleting unit and a displaying unit;
the query unit is also used for querying whether a record matched with the module name carried in the log closing instruction exists in the data structure when the log closing instruction is received; if yes, triggering a deleting unit; if not, triggering the display unit;
the deleting unit is used for deleting the record matched with the module name carried in the log closing instruction from the data structure;
and the display unit is used for displaying the prompt information that the module name does not exist.
The description of the features in the embodiment corresponding to fig. 2 may refer to the related description of the embodiment corresponding to fig. 1, and is not repeated here.
According to the technical scheme, when the interprocess communication instruction is received, whether the module name and the function name carried in the interprocess communication instruction meet the preset requirement or not is checked; and when the module name and the function name accord with the preset requirement, storing the module name and the function name into a preset data structure. The inter-process communication instruction is used to indicate log information required for printing. By recording the module name and the function name carried in the interprocess communication instruction in a preset data structure, when a log printing statement is operated, whether a record matched with a target module name and a target function name to which the log printing statement belongs exists or not can be inquired from the data structure. When a record matched with a target module name and a target function name to which a log printing statement belongs exists, putting log information corresponding to the target module name and the target function name into a log cache list; and when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file. Function-level logs of the module are dynamically adjusted through the interprocess communication instruction, so that the function-level logs inside the control module are printed in a thinning mode, the output of a large amount of irrelevant log information is reduced, the function debugging progress is accelerated, and the problem troubleshooting efficiency is improved. And the log information is put into the log cache list before the log file is written, so that the log information can be written in batch, and the processing efficiency of the log information is further improved.
Fig. 3 is a schematic diagram of a hardware structure of a log output device 30 according to an embodiment of the present invention, including:
a memory 31 for storing a computer program;
a processor 32 for executing the computer program to implement the steps of the log output method as described in any of the embodiments above.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the log output method according to any of the above embodiments are implemented.
The log output method, the log output device and the computer-readable storage medium provided by the embodiments of the present invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (10)

1. A log output method, comprising:
when an interprocess communication instruction is received, checking whether a module name and a function name carried in the interprocess communication instruction meet a preset requirement or not;
when the module name and the function name meet preset requirements, storing the module name and the function name into a preset data structure;
when a log printing statement is run, inquiring whether a record matched with a target module name and a target function name to which the log printing statement belongs exists in the data structure;
if yes, putting the log information corresponding to the name of the target module and the name of the target function into a log cache list;
and when the log information recorded in the log cache list meets a preset condition, writing the log information in the log cache list into a preset log file.
2. The method according to claim 1, wherein when the log information recorded in the log cache list satisfies a preset condition, writing the log information in the log cache list into a preset log file comprises:
judging whether the data volume of the log information in the log cache list reaches a preset threshold value or not;
and if so, writing the log information in the log cache list into a preset log file, and clearing the log cache list.
3. The method according to claim 1, wherein when the log information recorded in the log cache list satisfies a preset condition, writing the log information in the log cache list into a preset log file comprises:
judging whether the storage time of the log information in the log cache list reaches a preset time value or not;
and writing the target log information of which the storage time reaches a preset time value into a preset log file, and deleting the target log information from the log cache list.
4. The method of any one of claims 1-3, further comprising:
and when the module name and the function name do not accord with the preset requirement, displaying wrong prompt information of the module.
5. The method of any of claims 1-3, further comprising, after storing the module name and the function name in a preset data structure:
when a log closing instruction is received, whether a record matched with a module name carried in the log closing instruction exists or not is inquired from the data structure;
if so, deleting the record matched with the module name carried in the log closing instruction from the data structure;
if not, displaying the prompt information that the module name does not exist.
6. A log output device is characterized by comprising an inspection unit, a storage unit, a query unit, a cache unit and a write-in unit;
the checking unit is used for checking whether the module name and the function name carried in the interprocess communication instruction meet the preset requirement or not when the interprocess communication instruction is received;
the storage unit is used for storing the module name and the function name into a preset data structure when the module name and the function name meet preset requirements;
the query unit is used for querying whether a record matched with a target module name and a target function name to which the log printing statement belongs exists in the data structure when the log printing statement is run; if yes, triggering the cache unit;
the cache unit is used for putting the log information corresponding to the name of the target module and the name of the target function into a log cache list;
the writing unit is configured to write the log information in the log cache list into a preset log file when the log information recorded in the log cache list meets a preset condition.
7. The apparatus according to claim 6, wherein the writing unit is specifically configured to determine whether a data amount of log information in the log cache list reaches a preset threshold; and if so, writing the log information in the log cache list into a preset log file, and clearing the log cache list.
8. The apparatus according to claim 6, wherein the writing unit is specifically configured to determine whether a storage time of the log information in the log cache list reaches a preset time value; and writing the target log information of which the storage time reaches a preset time value into a preset log file, and deleting the target log information from the log cache list.
9. A log output apparatus, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the log output method as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the log outputting method according to any one of claims 1 to 5.
CN201911398121.5A 2019-12-30 2019-12-30 Log output method and device and computer readable storage medium Active CN111159128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911398121.5A CN111159128B (en) 2019-12-30 2019-12-30 Log output method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911398121.5A CN111159128B (en) 2019-12-30 2019-12-30 Log output method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111159128A CN111159128A (en) 2020-05-15
CN111159128B true CN111159128B (en) 2022-04-22

Family

ID=70559250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911398121.5A Active CN111159128B (en) 2019-12-30 2019-12-30 Log output method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111159128B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148699B (en) * 2020-09-28 2023-09-05 深圳平安智汇企业信息管理有限公司 Log management method, device, equipment and medium
CN115729479A (en) * 2021-08-30 2023-03-03 华为技术有限公司 Method and electronic equipment for printing dynamic log

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750488A (en) * 2015-03-26 2015-07-01 浪潮集团有限公司 Software debugging log output control achievement method
CN107153695A (en) * 2017-05-05 2017-09-12 恒生电子股份有限公司 Log recording method and device, electronic equipment, storage medium
CN108132873A (en) * 2016-12-01 2018-06-08 无锡中科西北星科技有限公司 Systematic procedure daily record prints and long-range multiple terminals daily record debugging control system
CN110096521A (en) * 2019-04-29 2019-08-06 顶象科技有限公司 Log information processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6179331B2 (en) * 2013-10-09 2017-08-16 富士通株式会社 Log output condition setting program, apparatus, and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750488A (en) * 2015-03-26 2015-07-01 浪潮集团有限公司 Software debugging log output control achievement method
CN108132873A (en) * 2016-12-01 2018-06-08 无锡中科西北星科技有限公司 Systematic procedure daily record prints and long-range multiple terminals daily record debugging control system
CN107153695A (en) * 2017-05-05 2017-09-12 恒生电子股份有限公司 Log recording method and device, electronic equipment, storage medium
CN110096521A (en) * 2019-04-29 2019-08-06 顶象科技有限公司 Log information processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"ARM平台下Netfilter日志管理技术研究";刘文等;《计算机技术与发展》;20120115;第250-253页 *
"Design and development of generic web based framework for log analysis";Raghav Rastogi等;《 2016 IEEE Region 10 Conference (TENCON)》;20170209;第1-5页 *

Also Published As

Publication number Publication date
CN111159128A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN111159128B (en) Log output method and device and computer readable storage medium
US7889384B2 (en) Method for more efficiently managing complex payloads in a point of sale system
US10558569B2 (en) Cache controller for non-volatile memory
US20190073572A1 (en) Method of transmitting parameter of storage chip of imaging cartridge, storage chip and imaging cartridge
EP1727349A3 (en) Recording of history information of input and output jobs of an image processing apparatus
US20140188829A1 (en) Technologies for providing deferred error records to an error handler
KR20100115818A (en) Dynamic formulas for spreadsheet cells
CN110716878B (en) Automatic interface testing method, device and system
CN111008087B (en) Message processing method and device
US10877700B1 (en) Flash memory controller and method capable of efficiently reporting debug information to host device
CN109213448B (en) Method, device, equipment and storage medium for erasing and writing data of smart card
WO2014120205A1 (en) Replacement of a corrupt driver variable record
JP2010152838A (en) Image forming device, control method and program
US20100153622A1 (en) Data Access Controller and Data Accessing Method
CN109246234B (en) Image file downloading method and device, electronic equipment and storage medium
US20060129520A1 (en) System and method for automatically updating a program in a computer
EP2645249A1 (en) Information processing apparatus, and method of controlling information processing apparatus
US8638455B2 (en) Program executing apparatus, image processing apparatus and non-transitory computer readable medium for activating an equipment using stored variable
CN109408265B (en) IOS abnormal operation protection method and device, terminal equipment and storage medium
CN114443339A (en) Error log recording method based on double-timestamp circular queue
JP2013003984A (en) Information processing apparatus, image forming apparatus, and program
CN114446373A (en) Method for testing DDR device and computer storage medium
JP2016099925A (en) Information processing device, log storage method, and computer program
CN111176738A (en) Display card display method and system of UEFI mode and related components thereof
CN112765116B (en) Log storage method, platform, equipment and medium

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