CN106326082B - Method and device for recording log in network system - Google Patents

Method and device for recording log in network system Download PDF

Info

Publication number
CN106326082B
CN106326082B CN201510335333.4A CN201510335333A CN106326082B CN 106326082 B CN106326082 B CN 106326082B CN 201510335333 A CN201510335333 A CN 201510335333A CN 106326082 B CN106326082 B CN 106326082B
Authority
CN
China
Prior art keywords
log
file
log file
access path
files
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
CN201510335333.4A
Other languages
Chinese (zh)
Other versions
CN106326082A (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201510335333.4A priority Critical patent/CN106326082B/en
Priority to PCT/CN2016/079204 priority patent/WO2016202070A1/en
Publication of CN106326082A publication Critical patent/CN106326082A/en
Application granted granted Critical
Publication of CN106326082B publication Critical patent/CN106326082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a device for recording logs in a network system; the method comprises the following steps: acquiring configuration information of log records; generating template information of the log record according to the configuration information of the log record; and when a log recording request is received, performing log recording operation by using the template information of the log record.

Description

Method and device for recording log in network system
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for recording logs in a network system.
Background
The log is a file used by a device or a system to record operation information and can be used for fault analysis. In the existing log recording system, the log is generally written into a memory or a file directly, and because the log writing does not have normative, the efficiency is low when the log is managed and analyzed subsequently. Of course, there is also a method of formatting log records according to a preset log specification and then according to the log specification, but because the management requirements of different systems on logs are different, the logs are recorded in the same manner, and the management requirements of different systems on logs cannot be met.
It can be seen from the above that, the log management method in the prior art cannot meet the management requirement of the system, which results in low log management efficiency.
Disclosure of Invention
The invention provides a method and a device for recording logs in a network system, aiming at solving the technical problem that the log management efficiency is low because the log management mode in the prior art cannot adapt to the management requirement of the system.
In order to solve the technical problems, the invention provides the following technical scheme:
a method of logging in a network system, comprising: acquiring configuration information of log records; generating template information of the log record according to the configuration information of the log record; and when a log recording request is received, performing log recording operation by using the template information of the log record.
Wherein, the recording operation of the log by using the template information of the log record comprises:
after adding a log in a current log file, judging whether the size of the current log file exceeds a preset file size threshold value or not to obtain a first judgment result;
and if the first judgment result is that the file size exceeds the threshold value, creating a new log file, and recording the log by using the new log file.
After the logging operation of the log is performed by using the template information of the log record, the method further includes:
after detecting that a new log file exists, judging whether the total number of the log files exceeds a preset threshold value of the number of files to obtain a second judgment result;
and if the second judgment result is that the total number of the log files exceeds the threshold value of the number of the files, deleting the log file with the earliest creation time according to the creation time of the log file.
Before the logging operation of the log is performed by using the template information of the log record, the method further includes:
judging whether the access path of the log file corresponding to the log in the storage area is changed or not to obtain a third judgment result;
and if the third judgment result is that the access path of the log file in the storage area is changed, acquiring a new access path of the log file corresponding to the log in the storage area, and storing all log files of the log in the original access path on the new access path.
If the third judgment result is that the access path of the log file in the storage area changes, the method further comprises the following steps:
and deleting the log file corresponding to the log on the original access path.
An apparatus for logging in a network system, comprising:
the first acquisition module is used for acquiring the configuration information of the log record by a user;
the generating module is used for generating template information of the log record according to the configuration information of the log record;
and the recording module is used for performing the recording operation of the log by utilizing the template information of the log record when receiving the log recording request.
Wherein the recording module comprises:
the judging unit is used for judging whether the size of the current log file exceeds a preset file size threshold value or not after adding logs in the current log file to obtain a first judging result;
the creating unit is used for creating a new log file if the first judgment result is that the size of the log file exceeds the threshold value of the file size;
and the recording unit is used for recording the log by using the new log file.
Wherein the apparatus further comprises:
the first judgment module is used for judging whether the total number of the log files exceeds a preset threshold value of the number of files to obtain a second judgment result if a new log file is detected after the log is recorded by utilizing the template information recorded by the log;
and the first deleting module is used for deleting the log file with the earliest creating time according to the creating time of the log file if the second judgment result shows that the total number of the log files exceeds the threshold of the number of the files.
Wherein the apparatus further comprises:
the second judgment module is used for judging whether the access path of the log file corresponding to the log in the storage area is changed or not before the log is recorded by utilizing the template information recorded by the log, so as to obtain a third judgment result;
the second obtaining module is used for obtaining a new access path of the log file corresponding to the log in the storage area if the third judgment result shows that the access path of the log file in the storage area changes;
and the storage module is used for storing all log files of the logs on the original access path on the new access path.
Wherein the apparatus further comprises:
and the second deleting module is used for deleting the log file corresponding to the log on the original access path if the third judgment result shows that the access path of the log file in the storage area is changed.
According to the method provided by the invention, the management requirement of an external manager on the log is acquired by acquiring the configuration information of the log record, and the template information of the log record is generated according to the log configuration information, so that the normative of the log information record can be ensured, and when a recording request of the log is received, the template is directly used for recording the log, so that the recording efficiency is high; therefore, the log recording mode can meet the management requirement of the system and has high recording efficiency.
Drawings
Fig. 1 is a flowchart of a method for logging in a network system according to the present invention;
fig. 2 is a flowchart of a method for logging in a network system according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for logging in a network system according to a second embodiment of the present invention;
fig. 4 is a flowchart of a method for logging in a network system according to a third embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for logging in a network system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a method for logging in a network system according to the present invention. The method shown in fig. 1, comprising:
step 101, obtaining configuration information of log records;
102, generating template information of the log record according to the configuration information of the log record;
and 103, when a log recording request is received, performing log recording operation by using the template information of the log record.
According to the method provided by the invention, the management requirement of an external manager on the log is acquired by acquiring the configuration information of the log record, and the template information of the log record is generated according to the log configuration information, so that the normative of the log information record can be ensured, and when a recording request of the log is received, the template is directly used for recording the log, so that the recording efficiency is high; therefore, the log recording mode can meet the management requirement of the system and has high recording efficiency.
The method provided by the present invention is further illustrated below:
wherein, the configuration parameters of the log record comprise at least one of the following: the log file management method comprises the steps of log pre-setting (such as timestamp information), initializing log files, the number of the log files, the size of the log files, the access path of the log files in a storage area, the names of the log files and the names of the subsequently newly-built log files.
For example, the name of the initialized log file is log _0.txt, and correspondingly, the name of the subsequently newly created log file can be log _ index.txt, wherein index is a natural number greater than or equal to 1.
It should be noted that the number of actual log files is one more file log _0.txt than the number of files configured for the log.
log _0.txt generally contains more important information such as system initialization, and when a file exceeds a threshold of the number of files, the file is not deleted, which has the advantage that the more important information such as system initialization can be retained, so the actual number of files is one more than the number of files configured by a user, for example, a user configures 3 files, and then the system has at most 4 files log _0.txt, log _1.txt, log _2.txt, and log _3.txt (in this case, index is 3), when a new file log _4.txt is created, index is 4, in this case, the name idx of the deleted file is index-3, so log _1.txt is deleted, and after the file is deleted, the current remaining file is: log _0.txt, log _2.txt, log _3.txt, log _4.txt
Further ensuring the normative of the log file, and after new log information is written in the log file, the problem that the size of the log file is too large may occur, so the following solutions are proposed:
wherein, the recording operation of the log by using the template information of the log record comprises:
after adding a log in a current log file, judging whether the size of the current log file exceeds a preset file size threshold value or not to obtain a first judgment result;
and if the first judgment result is that the file size exceeds the threshold value, creating a new log file, and recording the log by using the new log file.
For example, the preset threshold of the file size is 2M (mega); after the log is added, if the size of the log file is larger than 2M, a log file is newly built, and the log file is recorded in the new log file.
Wherein the new log file is used for recording the log, the following modes can be adopted:
recording all information of the log in a new log file; alternatively, the first and second electrodes may be,
recording partial information of the log in a log file, and recording information of another part of the log in a new log file, wherein the log of the partial information enables the size of the log file to be smaller than 2M.
The information of the log is increased continuously with the passage of time, and in order to reasonably utilize the storage space, after the logging operation is performed by using the template information recorded by the log, the method further comprises the following steps:
after detecting that a new log file exists, judging whether the total number of the log files exceeds a preset threshold value of the number of files to obtain a second judgment result;
and if the second judgment result is that the total number of the log files exceeds the threshold value of the number of the files, deleting the log file with the earliest creation time according to the creation time of the log file.
For example, the threshold value of the number of the preset files is 3, and the existing log files comprise an initialization log file log _0.txt, a created log file log _1.txt, a created log file log _2.txt and a created log file log _3. txt; the log _0.txt is an initialization file and cannot be deleted, so that after a new log file is created, the name of the new log file is log _4.txt, and if the total number of the current log files exceeds 3, the log file with the earliest creation time, namely the log file with the log _1.txt, is deleted.
In addition, before the logging operation of the log is performed by using the template information of the log record, the method further includes:
judging whether the access path of the log file corresponding to the log in the storage area is changed or not to obtain a third judgment result;
and if the third judgment result is that the access path of the log file in the storage area is changed, acquiring a new access path of the log file corresponding to the log in the storage area, and storing all log files of the log in the original access path on the new access path.
Specifically, in order to facilitate management of the log, when it is detected that an access path of the log in the storage area changes, the log file corresponding to the log needs to be stored in the same path, so that all log files in the original access path are stored in a new access path, and a user can conveniently look up all log information.
Of course, in order to fully utilize the storage space of the storage area, if the third determination result is that the access path of the log file in the storage area changes, the method further includes:
and deleting the log file corresponding to the log on the original access path.
Specifically, because the log file corresponding to the log on the original access path is already stored on the new access path, the log file corresponding to the log on the original access path may be deleted to avoid waste of storage space.
The process provided by the present invention is further illustrated by the following examples:
example one
Fig. 2 is a flowchart of a method for logging in a network system according to an embodiment of the present invention. The method shown in fig. 2 comprises:
the first step is as follows: the log module initializes, in which a file log _ index.txt (where index is 0) is created under the/log directory according to the log configuration rule.
The second step is that: and monitoring the log recording request in real time, and entering a third step when log recording is required.
The third step: and the log recording module inserts time information in front of each log according to default configuration, writes the log carrying the time information into a log _ index.
The fourth step: and (5) judging the size of the log _ index.txt file, and if the size exceeds the default configuration 2M, entering the fifth step. If not, go to the second step.
The fifth step: txt file log _ index.txt is closed, variable index + + is reshaped, new file log _ index.txt is created under default configuration directory/log directory, and the sixth step is entered.
And a sixth step: and judging the number of the files, entering the seventh step if the number of the files is larger than the default configuration file number of 3, and returning to the second step if the number of the files is not larger than the default configuration file number of 3.
The seventh step: and deleting the file log _ idx.txt (idx is index-3, wherein 3 is the default configuration file number), and returning to the sixth step.
According to the method provided by the embodiment of the invention, the management requirement of an external manager on the log is acquired by acquiring the configuration information of the log record, and the template information of the log record is generated according to the log configuration information, so that the normative of the log information record can be ensured, and when the recording request of the log is received, the log is recorded by directly using the template, so that the recording efficiency is high; therefore, the log recording mode can meet the management requirement of the system and has high recording efficiency. In addition, the log file is managed by judging the size of the log file and the total number of the log file, so that the normalization of log storage can be ensured.
Example two
Fig. 3 is a flowchart of a method for logging in a network system according to a second embodiment of the present invention. In the second embodiment, the number of log files modified by the user is 5, the size of each log file is 1M, and other parameters are described in detail as follows according to the default configuration:
the first step is as follows: the log module initializes, which creates a log _ index. txt file under the/log directory according to a default configuration (this time index is 0).
The second step is that: and monitoring the log recording request in real time, and entering a third step when log recording is required.
The third step: and the log recording module inserts time information in front of each log according to default configuration, writes the log carrying the time information into a log _ index.
The fourth step: txt file size is judged, and if the log file size limit is exceeded (file size is 2M default configuration before the user manually modifies the parameter, and 1M after the parameter is configured, the fifth step is entered. If the file size is not exceeded, go to the second step.
The fifth step: txt file log _ index.txt is closed, variable index + + is reshaped, new file log _ index.txt is created under default configuration directory/log directory, and the sixth step is entered.
And a sixth step: and judging the number of files, entering the seventh step if the number of files is larger than the maximum number of log files (default 3 before the user configures the parameters and 5 after the user configures the parameters), and returning to the second part if the number of files is not larger than the maximum number of log files.
The seventh step: deleting the file log _ idx.txt (idx is index-log _ num, wherein log _ num is the number of log files in the configuration parameters), and returning to the sixth step.
According to the method provided by the second embodiment of the invention, the management requirement of an external manager on the log is acquired by acquiring the configuration information of the log record, and the template information of the log record is generated according to the configuration information of the log, so that the normative of the log information record can be ensured, and when the recording request of the log is received, the log is recorded by directly using the template, so that the recording efficiency is high; therefore, the log recording mode can meet the management requirement of the system and has high recording efficiency. In addition, the log file is managed by judging the size of the log file and the total number of the log file, so that the normalization of log storage can be ensured.
EXAMPLE III
Fig. 4 is a flowchart of a method for logging in a network system according to a third embodiment of the present invention. In the third embodiment, the user modifying the file saving location parameter is: the other parameters are as follows according to default configuration:
the first step is as follows: the log module initializes, which creates a log _ index. txt file under the/log directory according to a default configuration (this time index is 0).
The second step is that: and monitoring the log recording request in real time, and entering a third step when log recording is required.
The third step: and the log recording module inserts time information in front of each log according to default configuration, writes the log carrying the time information into a log _ index.
The fourth step: txt file size is judged, and if the log file size exceeds the limit of the log file default size of 2M, the fifth step is performed. If the file size is not exceeded, go to the second step.
The fifth step: txt file is closed, the variable index + + is shaped, and the sixth step is entered.
And a sixth step: and judging whether the file path is changed or not, if not, entering the seventh step, and if so, entering the eighth step.
The seventh step: txt is created for the new file log _ index.under the current file path and the ninth step is entered.
Eighth step: copying a log _0.txt file under an original directory to a new directory, and copying bcm _0.txt to the new directory, wherein the bcm _0.txt records important information of system initialization; deleting all log files in the original directory, setting the index to be 1, creating a file log _ index.
A ninth part: and judging the number of the files, if the number of the files is larger than the number 3 of the default configuration files, entering the tenth step, and if not, returning to the second step.
The tenth step: and deleting the file log _ idx.txt (idx is index-3, wherein 3 is the default configuration file number), and returning to the sixth step.
According to the method provided by the third embodiment of the invention, the management requirement of an external manager on the log is acquired by acquiring the configuration information of the log record, and the template information of the log record is generated according to the configuration information of the log, so that the normative of the log information record can be ensured, and when the recording request of the log is received, the log is recorded by directly using the template, so that the recording efficiency is high; therefore, the log recording mode can meet the management requirement of the system and has high recording efficiency. In addition, the log file is managed by judging the size of the log file and the total number of the log file, so that the normalization of log storage can be ensured; and whether the access path is changed or not is judged, so that the log files are stored together, and the subsequent lookup of a user is facilitated.
Fig. 5 is a block diagram of an apparatus for logging in a network system according to the present invention. The apparatus shown in fig. 5 comprises:
a first obtaining module 501, where a user obtains configuration information of a log record;
a generating module 502, configured to generate template information of the log record according to the configuration information of the log record;
the recording module 503 is configured to perform a log recording operation by using the template information of the log record when the log recording request is received.
Wherein the recording module 503 comprises:
the judging unit is used for judging whether the size of the current log file exceeds a preset file size threshold value or not after adding logs in the current log file to obtain a first judging result;
the creating unit is used for creating a new log file if the first judgment result is that the size of the log file exceeds the threshold value of the file size;
and the recording unit is used for recording the log by using the new log file.
Wherein the apparatus further comprises:
the first judgment module is used for judging whether the total number of the log files exceeds a preset threshold value of the number of files to obtain a second judgment result if a new log file is detected after the log is recorded by utilizing the template information recorded by the log;
and the first deleting module is used for deleting the log file with the earliest creating time according to the creating time of the log file if the second judgment result shows that the total number of the log files exceeds the threshold of the number of the files.
Wherein the apparatus further comprises:
the second judgment module is used for judging whether the access path of the log file corresponding to the log in the storage area is changed or not before the log is recorded by utilizing the template information recorded by the log, so as to obtain a third judgment result;
the second obtaining module is used for obtaining a new access path of the log file corresponding to the log in the storage area if the third judgment result shows that the access path of the log file in the storage area changes;
and the storage module is used for storing all log files of the logs on the original access path on the new access path.
Wherein the apparatus further comprises:
and the second deleting module is used for deleting the log file corresponding to the log on the original access path if the third judgment result shows that the access path of the log file in the storage area is changed.
According to the device provided by the invention, the management requirement of an external manager on the log is acquired by acquiring the configuration information of the log record, and the template information of the log record is generated according to the log configuration information, so that the normative of the log information record can be ensured, and when a recording request of the log is received, the template is directly used for recording the log, so that the recording efficiency is high; therefore, the log recording mode can meet the management requirement of the system and has high recording efficiency. In addition, the log file is managed by judging the size of the log file and the total number of the log file, so that the normalization of log storage can be ensured; and whether the access path is changed or not is judged, so that the log files are stored together, and the subsequent lookup of a user is facilitated.
It will be understood by those of ordinary skill in the art that all or part of the steps of the above embodiments may be implemented using a computer program flow, which may be stored in a computer readable storage medium and executed on a corresponding hardware platform (e.g., system, apparatus, device, etc.), and when executed, includes one or a combination of the steps of the method embodiments.
Alternatively, all or part of the steps of the above embodiments may be implemented by using an integrated circuit, and the steps may be respectively manufactured as an integrated circuit module, or a plurality of the blocks or steps may be manufactured as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The devices/functional modules/functional units in the above embodiments may be implemented by general-purpose computing devices, and they may be centralized on a single computing device or distributed on a network formed by a plurality of computing devices.
Each device/function module/function unit in the above embodiments may be implemented in the form of a software function module and may be stored in a computer-readable storage medium when being sold or used as a separate product. The computer readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of logging in a network system, comprising:
acquiring configuration information of log records containing an initialization log file;
generating template information of the log record according to the configuration information of the log record containing the initialized log file;
when a log recording request is received, performing log recording operation by using the template information of the log record;
wherein the initialization log file comprises a log file reserved for system initialization.
2. The method according to claim 1, wherein the logging operation using the logged template information includes:
after adding a log in a current log file, judging whether the size of the current log file exceeds a preset file size threshold value or not to obtain a first judgment result;
and if the first judgment result is that the file size exceeds the threshold value, creating a new log file, and recording the log by using the new log file.
3. The method according to claim 1 or 2, wherein after the logging operation using the logged template information, the method further comprises:
after detecting that a new log file exists, judging whether the total number of the log files exceeds a preset threshold value of the number of files to obtain a second judgment result;
and if the second judgment result is that the total number of the log files exceeds the threshold value of the number of the files, deleting the log file with the earliest creation time according to the creation time of the log file.
4. The method of claim 1, wherein before the logging operation using the logged template information, the method further comprises:
judging whether the access path of the log file corresponding to the log in the storage area is changed or not to obtain a third judgment result;
and if the third judgment result is that the access path of the log file in the storage area is changed, acquiring a new access path of the log file corresponding to the log in the storage area, and storing all log files of the log in the original access path on the new access path.
5. The method according to claim 4, wherein if the third determination result is that the access path of the log file in the storage area is changed, the method further comprises:
and deleting the log file corresponding to the log on the original access path.
6. An apparatus for logging in a network system, comprising:
the first acquisition module is used for acquiring the configuration information of the log record containing the initialized log file by a user;
the generating module is used for generating template information of the log record according to the configuration information of the log record containing the initialized log file;
the log recording module is used for performing log recording operation by using the template information of the log record when receiving a log recording request;
wherein the initialization log file comprises a log file reserved for system initialization.
7. The apparatus of claim 6, wherein the recording module comprises:
the judging unit is used for judging whether the size of the current log file exceeds a preset file size threshold value or not after adding logs in the current log file to obtain a first judging result;
the creating unit is used for creating a new log file if the first judgment result is that the size of the log file exceeds the threshold value of the file size;
and the recording unit is used for recording the log by using the new log file.
8. The apparatus of claim 6 or 7, further comprising:
the first judgment module is used for judging whether the total number of the log files exceeds a preset threshold value of the number of files to obtain a second judgment result if a new log file is detected after the log is recorded by utilizing the template information recorded by the log;
and the first deleting module is used for deleting the log file with the earliest creating time according to the creating time of the log file if the second judgment result shows that the total number of the log files exceeds the threshold of the number of the files.
9. The apparatus of claim 6, further comprising:
the second judgment module is used for judging whether the access path of the log file corresponding to the log in the storage area is changed or not before the log is recorded by utilizing the template information recorded by the log, so as to obtain a third judgment result;
the second obtaining module is used for obtaining a new access path of the log file corresponding to the log in the storage area if the third judgment result shows that the access path of the log file in the storage area changes;
and the storage module is used for storing all log files of the logs on the original access path on the new access path.
10. The apparatus of claim 9, further comprising:
and the second deleting module is used for deleting the log file corresponding to the log on the original access path if the third judgment result shows that the access path of the log file in the storage area is changed.
CN201510335333.4A 2015-06-16 2015-06-16 Method and device for recording log in network system Active CN106326082B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510335333.4A CN106326082B (en) 2015-06-16 2015-06-16 Method and device for recording log in network system
PCT/CN2016/079204 WO2016202070A1 (en) 2015-06-16 2016-04-13 Method and device for recording log in network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510335333.4A CN106326082B (en) 2015-06-16 2015-06-16 Method and device for recording log in network system

Publications (2)

Publication Number Publication Date
CN106326082A CN106326082A (en) 2017-01-11
CN106326082B true CN106326082B (en) 2020-10-16

Family

ID=57544815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510335333.4A Active CN106326082B (en) 2015-06-16 2015-06-16 Method and device for recording log in network system

Country Status (2)

Country Link
CN (1) CN106326082B (en)
WO (1) WO2016202070A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357686A (en) * 2017-07-20 2017-11-17 郑州云海信息技术有限公司 A kind of daily record delet method and device
CN110309035A (en) * 2018-03-20 2019-10-08 北京乐我无限科技有限责任公司 Log recording method, device, electronic equipment and storage medium
CN109062762A (en) * 2018-07-26 2018-12-21 浙江数链科技有限公司 Formatted log method for pushing and device
CN111143310B (en) * 2018-11-06 2021-05-14 海通证券股份有限公司 Log recording method and device and readable storage medium
CN111459764B (en) * 2020-04-09 2023-12-29 江苏盛海智能科技有限公司 Log management method and terminal
CN115543949B (en) * 2022-09-27 2023-09-08 北京北方华创微电子装备有限公司 Log processing method and semiconductor process equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515245A (en) * 2008-02-21 2009-08-26 卓望数码技术(深圳)有限公司 Operation log recording method and system
CN102467516A (en) * 2010-11-04 2012-05-23 北京北方微电子基地设备工艺研究中心有限责任公司 Method, device and system for recording logs in equipment control process
CN102799514A (en) * 2011-05-24 2012-11-28 中兴通讯股份有限公司 Method and system for managing log records
CN104636242A (en) * 2015-02-06 2015-05-20 浪潮电子信息产业股份有限公司 Method for automatically deleting repeated content in system logs on basis of Linux operating system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892917A (en) * 1995-09-27 1999-04-06 Microsoft Corporation System for log record and log expansion with inserted log records representing object request for specified object corresponding to cached object copies
JP5946423B2 (en) * 2013-04-26 2016-07-06 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation System log classification method, program and system
CN103412893A (en) * 2013-07-24 2013-11-27 广东电子工业研究院有限公司 Collecting system and collecting method of logs
CN104331487B (en) * 2014-11-13 2019-03-12 上海携程商务有限公司 The processing method and processing device of log

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515245A (en) * 2008-02-21 2009-08-26 卓望数码技术(深圳)有限公司 Operation log recording method and system
CN102467516A (en) * 2010-11-04 2012-05-23 北京北方微电子基地设备工艺研究中心有限责任公司 Method, device and system for recording logs in equipment control process
CN102799514A (en) * 2011-05-24 2012-11-28 中兴通讯股份有限公司 Method and system for managing log records
CN104636242A (en) * 2015-02-06 2015-05-20 浪潮电子信息产业股份有限公司 Method for automatically deleting repeated content in system logs on basis of Linux operating system

Also Published As

Publication number Publication date
CN106326082A (en) 2017-01-11
WO2016202070A1 (en) 2016-12-22

Similar Documents

Publication Publication Date Title
CN106326082B (en) Method and device for recording log in network system
US11614990B2 (en) Automatic correlation of dynamic system events within computing devices
JP2013509658A (en) Allocation of storage memory based on future usage estimates
CN109241223B (en) Behavior track identification method and system
CN104935469A (en) Distributive storage method and system for log information
CN104346264A (en) System and method for processing system event logs
WO2018006721A1 (en) Method and apparatus for storing log file
US10209905B2 (en) Reusing storage blocks of a file system
CN103108033A (en) File uploading method and system
CN109582504A (en) A kind of data reconstruction method and device for apple equipment
WO2015139565A1 (en) Heterogeneous logging system management configuration
CN108647284B (en) Method and device for recording user behavior, medium and computing equipment
CN104424109B (en) Information processing method and electronic equipment
Jones et al. A method and implementation for the empirical study of deleted file persistence in digital devices and media
CN104539449A (en) Handling method and related device for fault information
CN110298178B (en) Trusted policy learning method and device and trusted security management platform
CN109165305B (en) Characteristic value storage and retrieval method and device
US10824597B2 (en) Cache folder identification method and device
CN113821193B (en) Information generation method, device and storage medium
CN107422991B (en) Storage strategy management system
CN109144766B (en) Data storage and reconstruction method and device and electronic equipment
CN104317675A (en) Disaster tolerance treatment method and device of applications
CN115065558A (en) Attack flow tracing method and device for APT attack
CN111104301B (en) Method and system for judging barrier user in webpage
CN105102083A (en) Data processing method, apparatus and system

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
TA01 Transfer of patent application right

Effective date of registration: 20200914

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Applicant after: Nanjing Zhongxing New Software Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corp.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant