CN111026728A - Log data processing method and related device - Google Patents

Log data processing method and related device Download PDF

Info

Publication number
CN111026728A
CN111026728A CN201911134581.7A CN201911134581A CN111026728A CN 111026728 A CN111026728 A CN 111026728A CN 201911134581 A CN201911134581 A CN 201911134581A CN 111026728 A CN111026728 A CN 111026728A
Authority
CN
China
Prior art keywords
log
file
archived
log file
written
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.)
Pending
Application number
CN201911134581.7A
Other languages
Chinese (zh)
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.)
Shandong Civic Se Commercial Middleware Co ltd
Original Assignee
Shandong Civic Se Commercial Middleware 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 Shandong Civic Se Commercial Middleware Co ltd filed Critical Shandong Civic Se Commercial Middleware Co ltd
Priority to CN201911134581.7A priority Critical patent/CN111026728A/en
Publication of CN111026728A publication Critical patent/CN111026728A/en
Pending legal-status Critical Current

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a log data processing method, which comprises the following steps: when receiving log data, writing the log data into a log file to be written; when the size of the log file to be written is larger than the preset size, executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written; and deleting all archived log files according to the longest storage time and the largest log number in a preset log rolling strategy. The log file is subjected to size control in the writing process of the log data, and then the archived log file is subjected to deletion processing through the longest storage time and the largest number of logs, so that the log file is subjected to double control through the size and the time, and the rolling effect of the log file is improved. The application also discloses a log data processing device, a server and a computer readable storage medium, which have the beneficial effects.

Description

Log data processing method and related device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a log data processing method, a log data processing apparatus, a server, and a computer-readable storage medium.
Background
After the application server program runs for a long time, the application system on the server can generate a large amount of historical log files, the logs can be used for searching historical operation information, and when the application system is found to be abnormal, the log information can also be an important basis for diagnosing the abnormal. Obviously, the importance of the log is self-evident for both the application server program and the application program, and the storage of a large number of history logs is essential for the operation and maintenance of the system, but the requirements for the history logs are different for different application systems. How long to store log information, how large the log is stored, what the size of each log file is, etc.
At present, the application server log rolling policy in the prior art mainly includes the following two ways. One is to scroll the log based on the size of the log file, set the maximum number of history log files, and delete the oldest history log file when the number of log files reaches the set maximum value. Another is to scroll the log based on time intervals and set the maximum storage time of the historical log file, and when the log file is stored for longer than the set time, the file is deleted.
However, as the number of log files used by the server increases, the first technique is inconvenient for information search because the start time of each log file is uncertain, and when an application system is abnormal, a large number of logs are generated in a short time, and then a log rolling operation is continued, so that a large number of other history logs are deleted. In another log processing mode, if the historical log files are reserved according to a certain number, files exceeding the number are directly deleted, so that statistical analysis on the historical files cannot be performed any more subsequently.
Therefore, how to improve the effect of the log rolling policy on saving the log is a key issue that those skilled in the art pay attention to.
Disclosure of Invention
The application aims to provide a log data processing method, a log data processing device, a server and a computer readable storage medium, wherein the log data writing process is firstly subjected to size control, and then the archived log files are subjected to deletion processing through the longest storage time and the largest log number, so that the log files are subjected to dual control through the size and the time, and the rolling effect of the log files is improved.
In order to solve the above technical problem, the present application provides a log data processing method, including:
when receiving log data, writing the log data into a log file to be written;
when the size of the log file to be written is larger than the preset size, executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written;
and deleting all archived log files according to the longest storage time and the largest log number in a preset log rolling strategy.
Optionally, the method further includes:
and when the log file to be written is subjected to log rolling operation at preset time intervals, obtaining an archived log file and a new log file to be written.
Optionally, the executing a log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written to includes:
stamping a time stamp on the log file to be written and storing the log file as an archived log file;
and creating a new log file to be written.
Optionally, deleting all archived log files according to the longest storage time and the largest log number in the preset log rolling policy, including:
judging whether the storage time of the archived log file is longer than the longest storage time or not according to the timestamp;
when an archived log file with the storage time longer than the longest storage time exists, deleting the archived log file;
when the archived log files with the storage time longer than the longest storage time do not exist, judging whether the number of all the archived log files is larger than the maximum number of the logs or not;
and when the number of all the archived log files is larger than the maximum log number, deleting the archived log file with the earliest time.
The present application further provides a log data processing apparatus, including:
the log data writing module is used for writing the log data into a log file to be written when the log data are received;
the log rolling operation module comprises a file capacity judgment unit and a log rolling unit; the file capacity judging unit is used for executing the log rolling unit when the size of the log file to be written is larger than a preset size; the log rolling unit is used for executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written;
and the deletion processing module is used for deleting all the archived log files according to the longest storage time and the largest log number in the preset log rolling strategy.
Optionally, the method further includes:
and the time log rolling module is used for executing the log rolling unit at preset time intervals.
Optionally, the log scrolling unit includes:
the log archiving unit is used for stamping a timestamp on the log file to be written and storing the log file as an archived log file;
and the log creating unit is used for creating a new log file to be written.
Optionally, the deletion processing module includes:
the storage time judging unit is used for judging whether the storage time of the archived log file is longer than the longest storage time or not according to the timestamp;
the time cleaning unit is used for deleting the archived log file when the archived log file with the storage time longer than the longest storage time exists;
the file quantity judging unit is used for judging whether the number of all archived log files is greater than the maximum log number or not when the archived log files with the storage time greater than the longest storage time do not exist;
and the number cleaning unit is used for deleting the archived log file with the earliest time when the number of all the archived log files is larger than the maximum log number.
The present application also provides a server, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the log data processing method as described above when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, realizes the steps of the log data processing method as described above.
The application provides a log data processing method, which comprises the following steps: when receiving log data, writing the log data into a log file to be written; when the size of the log file to be written is larger than the preset size, executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written; and deleting all archived log files according to the longest storage time and the largest log number in a preset log rolling strategy.
The method comprises the steps of firstly controlling the size of a log file to be written through the size of the log file to be written in the process of writing log data so as to keep the size difference of each log file small, then storing the log file to be written in as an archived log file, and then deleting and managing the archived log file through the longest storage time and the largest log number in a preset log rolling strategy instead of only depending on the storage time or the log number, so that the effect of managing the logs is improved, and the log rolling operation is more effective.
The present application further provides a log data processing apparatus, a server, and a computer-readable storage medium, which have the above beneficial effects, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a log data processing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a log data processing apparatus according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a log data processing method, a log data processing device, a server and a computer readable storage medium, wherein the log data writing process is firstly controlled in size, and then the archived log files are deleted according to the longest storage time and the largest log number, so that the log files are controlled in size and time, and the rolling effect of the log files is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application server log rolling policy in the prior art is mainly the following two ways. One is to scroll the log based on the size of the log file, set the maximum number of history log files, and delete the oldest history log file when the number of log files reaches the set maximum value. Another is to scroll the log based on time intervals and set the maximum storage time of the historical log file, and when the log file is stored for longer than the set time, the file is deleted. However, as the number of log files used by the server increases, the first technique is inconvenient for information search because the start time of each log file is uncertain, and when an application system is abnormal, a large number of logs are generated in a short time, and then a log rolling operation is continued, so that a large number of other history logs are deleted. In another log processing mode, if the historical log files are reserved according to a certain number, files exceeding the number are directly deleted, so that statistical analysis on the historical files cannot be performed any more subsequently.
Therefore, the log data processing method provided by the application controls the size of the log file to be written through the size of the log file to be written in the process of writing the log data so as to keep the size difference of each log file small, then stores the log file to be written in as an archived log file, and then deletes the archived log file through the longest storage time and the largest log number in the preset log rolling strategy instead of only depending on the storage time or the log number for management, thereby improving the effect of managing the log and enabling the log rolling operation to be more effective.
Referring to fig. 1, fig. 1 is a flowchart of a log data processing method according to an embodiment of the present disclosure.
In this embodiment, the method may include:
s101, when receiving log data, writing the log data into a log file to be written;
the method comprises the steps of writing log data into a log file to be written when the log data are received. In the process of application of the server system, different log data can be generated at any time. And when the log data are generated, storing the log data in a log file to be written. Therefore, the log file to be written provided by the embodiment receives new log data at any time and stores the log data. However, in an actual application process, the size of the log data stored in each log file cannot be infinite, and needs to be controlled within a certain range, so that in the prior art, a new log file is generated and an old log file is archived through a log rolling operation.
Specifically, in this step, the method for writing the log data into the log file to be written may refer to any log data writing method provided in the prior art, and is not limited specifically herein.
S102, when the size of the log file to be written is larger than the preset size, executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written;
on the basis of S101, this step aims to determine that a log rolling operation is performed on a log file to be written at a certain time. Specifically, in this step, the size of the log file to be written is used as a criterion for judgment, that is, whether the size of the log file to be written is larger than a preset size is judged. Further, in order to reduce performance consumption, it may be determined whether the size of the log file to be written is larger than a preset size after log data is stored each time. And when the size of the log file to be written is larger than the preset size, executing log rolling operation on the log file to be written.
Optionally, the step of performing a rolling operation on the log in the server in this step may include:
step 1, stamping a time stamp on a log file to be written and storing the log file as an archived log file;
and 2, creating a new log file to be written.
It can be seen that the present alternative scheme mainly further explains how to perform the log scrolling operation. Because the log file is continuously generated in real time in the using process of the server, if the log file is not subjected to real-time rolling operation and deleting operation, the log file not only occupies excessive storage space, but also seriously influences the effect of log search. Therefore, when managing a log file, a log scroll operation must be performed on the log file. Specifically, a time stamp is stamped on a log file meeting the log rolling requirement, that is, the time at this moment is marked in the log file, the log file is saved as an archived log file, and finally a new log file to be written is created, so that the received new log data is written into the log file to be written.
And S103, deleting all archived log files according to the longest storage time and the largest log number in a preset log rolling strategy.
On the basis of S102, this step is intended to perform deletion processing on all archived log files according to the log scroll policy. Specifically, in this step, the archived log files are simultaneously determined according to the longest storage time and the largest number of logs in the policy, so as to perform the deletion processing, instead of performing the deletion processing on the archived log files only by time or only by number in the prior art. In the embodiment, more strategy parameters and strategy adjustment ranges can be applied, and the log rolling effect is improved.
Optionally, this step may include:
step 1, judging whether the storage time of the archived log file is longer than the longest storage time or not according to the timestamp;
step 2, when the archived log file with the storage time longer than the longest storage time exists, deleting the archived log file;
step 3, when the archived log files with the storage time longer than the longest storage time do not exist, judging whether the number of all the archived log files is larger than the maximum number of the logs or not;
and 4, deleting the archived log file with the earliest time when the number of all the archived log files is larger than the maximum log number.
It can be seen that in this alternative, the determination is first made according to the timestamp and the longest storage time of the archived log files, if no archived log file reaches the longest storage time, the number of log files is determined, and when the number exceeds the number, the oldest archived log file is deleted. Therefore, the archived log files can be simultaneously controlled by storing the longest time and the number, and the log rolling effect is improved.
Optionally, this embodiment may further include:
and when the log file to be written is executed with the log rolling operation at preset time intervals, obtaining an archived log file and a new log file to be written.
Therefore, if the log file to be written does not reach the preset size, the log rolling operation can be performed through the preset time interval, and the overlarge time difference between the log data stored in the log file to be written is avoided.
In summary, in the process of writing log data, the size of the log file to be written is controlled by the size of the log file to be written first, so that the size difference of each log file is kept small, and then the log file to be written is saved as an archived log file, and then the archived log file is deleted and managed by the longest storage time and the largest log number in the preset log rolling policy, instead of being managed by only depending on the storage time or the log number, so that the effect of managing logs is improved, and the log rolling operation is more effective.
The following further describes a log data processing method provided by the present application with another specific embodiment.
In this embodiment, first, a setting operation of a log rolling policy is performed, and a time interval is as follows: t, log file size: l, maximum storage time: d, maximum number of logs: C.
the method can comprise the following steps:
step 1, starting a time interval timing task:
when the application server is started, a timing task with a time interval of T is started, rolling log operation is carried out every T time, and the longest storage time is judged.
Step 2, judging the size of the log file:
and after a log is written into the file each time, judging the size of the log file, and if the size is larger than or equal to L, performing log rolling operation.
Step 3, log scrolling:
renaming the current log file with the current time as a suffix, and creating a new log file.
Step 4, judging the longest storage time:
judging whether the storage time of history log files is longer than D, if so, deleting all expired log files; and if not, judging the maximum log number.
Step 5, judging the maximum log number:
and judging whether the number of the historical logs is larger than C or not, and if so, deleting the earliest log file.
And 6, deleting the earliest log file:
and selecting the earliest log file according to the date suffix of the history file, and deleting the log file.
And 7, deleting the expired log file:
and selecting all files with the storage time larger than D according to the date suffix of the historical files, and deleting all files.
It can be seen that, in the process of writing log data, the size of the log file to be written is controlled by the size of the log file to be written first, so that the size difference of each log file is kept small, and then the log file to be written is stored as an archived log file, and then the archived log file is deleted and managed through the longest storage time and the largest log number in the preset log rolling policy, instead of being managed only by means of the storage time or the log number, so that the effect of managing logs is improved, and the log rolling operation is more effective. That is, log scrolling is performed based on both log file size and time interval; the log rolling strategy can be configured according to the actual application scene of the application system; the log information is conveniently searched and positioned according to the date; therefore, the history records can be kept as much as possible, and the waste of disk space can be avoided.
In the following, a log data processing apparatus provided by an embodiment of the present application is introduced, and a log data processing apparatus described below and a log data processing method described above may be referred to in correspondence.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a log data processing apparatus according to an embodiment of the present disclosure.
In this embodiment, the apparatus may include:
a log data writing module 100, configured to write log data into a log file to be written when the log data is received;
a log rolling operation module 200 including a file capacity judgment unit and a log rolling unit; the file capacity judging unit is used for executing the log rolling unit when the size of the log file to be written is larger than the preset size; the log rolling unit is used for executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written;
and the deletion processing module 300 is configured to delete all archived log files according to the longest storage time and the largest log number in the preset log rolling policy.
Optionally, the apparatus may further include:
and the time log rolling module is used for executing the log rolling unit at preset time intervals.
Optionally, the log scrolling unit may include:
the log archiving unit is used for stamping a timestamp on the log file to be written and storing the log file as an archived log file;
and the log creating unit is used for creating a new log file to be written.
Optionally, the deletion processing module 300 may include:
the storage time judging unit is used for judging whether the storage time of the archived log file is longer than the longest storage time or not according to the timestamp;
the time cleaning unit is used for deleting the archived log file when the archived log file with the storage time longer than the longest storage time exists;
the file quantity judging unit is used for judging whether the number of all archived log files is greater than the maximum log number or not when the archived log files with the storage time greater than the longest storage time do not exist;
and the number cleaning unit is used for deleting the archived log file with the earliest time when the number of all the archived log files is larger than the maximum log number.
An embodiment of the present application further provides a server, including:
a memory for storing a computer program;
a processor for implementing the steps of the log data processing method as described in the above embodiments when executing the computer program.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the log data processing method according to the above embodiment.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
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.
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 application.
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.
The above detailed description is provided for a log data processing method, a log data processing apparatus, a server, and a computer readable storage medium provided by the present application. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A log data processing method, comprising:
when receiving log data, writing the log data into a log file to be written;
when the size of the log file to be written is larger than the preset size, executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written;
and deleting all archived log files according to the longest storage time and the largest log number in a preset log rolling strategy.
2. The log data processing method according to claim 1, further comprising:
and when the log file to be written is subjected to log rolling operation at preset time intervals, obtaining an archived log file and a new log file to be written.
3. The log data processing method according to claim 1, wherein performing a log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written includes:
stamping a time stamp on the log file to be written and storing the log file as an archived log file;
and creating a new log file to be written.
4. The log data processing method of claim 3, wherein deleting all archived log files according to the longest storage time and the largest log number in a preset log rolling policy comprises:
judging whether the storage time of the archived log file is longer than the longest storage time or not according to the timestamp;
when an archived log file with the storage time longer than the longest storage time exists, deleting the archived log file;
when the archived log files with the storage time longer than the longest storage time do not exist, judging whether the number of all the archived log files is larger than the maximum number of the logs or not;
and when the number of all the archived log files is larger than the maximum log number, deleting the archived log file with the earliest time.
5. A log data processing apparatus characterized by comprising:
the log data writing module is used for writing the log data into a log file to be written when the log data are received;
the log rolling operation module comprises a file capacity judgment unit and a log rolling unit; the file capacity judging unit is used for executing the log rolling unit when the size of the log file to be written is larger than a preset size; the log rolling unit is used for executing log rolling operation on the log file to be written to obtain an archived log file and a new log file to be written;
and the deletion processing module is used for deleting all the archived log files according to the longest storage time and the largest log number in the preset log rolling strategy.
6. The log data processing apparatus of claim 5, further comprising:
and the time log rolling module is used for executing the log rolling unit at preset time intervals.
7. The log data processing apparatus of claim 5, wherein the log scrolling unit comprises:
the log archiving unit is used for stamping a timestamp on the log file to be written and storing the log file as an archived log file;
and the log creating unit is used for creating a new log file to be written.
8. The log data processing apparatus of claim 7, wherein the deletion processing module comprises:
the storage time judging unit is used for judging whether the storage time of the archived log file is longer than the longest storage time or not according to the timestamp;
the time cleaning unit is used for deleting the archived log file when the archived log file with the storage time longer than the longest storage time exists;
the file quantity judging unit is used for judging whether the number of all archived log files is greater than the maximum log number or not when the archived log files with the storage time greater than the longest storage time do not exist;
and the number cleaning unit is used for deleting the archived log file with the earliest time when the number of all the archived log files is larger than the maximum log number.
9. A server, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the log data processing method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the log data processing method according to any one of claims 1 to 4.
CN201911134581.7A 2019-11-19 2019-11-19 Log data processing method and related device Pending CN111026728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911134581.7A CN111026728A (en) 2019-11-19 2019-11-19 Log data processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911134581.7A CN111026728A (en) 2019-11-19 2019-11-19 Log data processing method and related device

Publications (1)

Publication Number Publication Date
CN111026728A true CN111026728A (en) 2020-04-17

Family

ID=70200666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911134581.7A Pending CN111026728A (en) 2019-11-19 2019-11-19 Log data processing method and related device

Country Status (1)

Country Link
CN (1) CN111026728A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597158A (en) * 2020-04-23 2020-08-28 远光软件股份有限公司 Log file rolling method and device, storage medium and terminal
CN111858536A (en) * 2020-08-03 2020-10-30 聚好看科技股份有限公司 Service log transmission method and terminal
CN112231288A (en) * 2020-09-30 2021-01-15 北京金山云网络技术有限公司 Log storage method and device and medium
CN113094333A (en) * 2021-03-18 2021-07-09 智道网联科技(北京)有限公司 Method and device for managing running logs of vehicle-mounted terminal
CN113485965A (en) * 2021-06-22 2021-10-08 西安震有信通科技有限公司 Method, device and server for dynamically cleaning log files based on file sizes
CN113612791A (en) * 2021-08-11 2021-11-05 湖南中车时代通信信号有限公司 Network data monitoring equipment
CN113626393A (en) * 2021-06-28 2021-11-09 苏州浪潮智能科技有限公司 Log cutting method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130073532A1 (en) * 2011-09-21 2013-03-21 International Business Machines Corporation Coordination of event logging operations and log management
CN105608089A (en) * 2014-11-19 2016-05-25 珠海金山办公软件有限公司 File storage method and device
CN109086098A (en) * 2018-07-23 2018-12-25 郑州云海信息技术有限公司 A kind of journal file method for cleaning and relevant apparatus
CN109508144A (en) * 2018-08-30 2019-03-22 郑州云海信息技术有限公司 A kind of log processing method and relevant apparatus
CN109857548A (en) * 2019-01-04 2019-06-07 平安科技(深圳)有限公司 Memory space optimization method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130073532A1 (en) * 2011-09-21 2013-03-21 International Business Machines Corporation Coordination of event logging operations and log management
CN105608089A (en) * 2014-11-19 2016-05-25 珠海金山办公软件有限公司 File storage method and device
CN109086098A (en) * 2018-07-23 2018-12-25 郑州云海信息技术有限公司 A kind of journal file method for cleaning and relevant apparatus
CN109508144A (en) * 2018-08-30 2019-03-22 郑州云海信息技术有限公司 A kind of log processing method and relevant apparatus
CN109857548A (en) * 2019-01-04 2019-06-07 平安科技(深圳)有限公司 Memory space optimization method, device, computer equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597158A (en) * 2020-04-23 2020-08-28 远光软件股份有限公司 Log file rolling method and device, storage medium and terminal
CN111597158B (en) * 2020-04-23 2024-01-19 远光软件股份有限公司 Rolling method and device for log files, storage medium and terminal
CN111858536A (en) * 2020-08-03 2020-10-30 聚好看科技股份有限公司 Service log transmission method and terminal
CN112231288A (en) * 2020-09-30 2021-01-15 北京金山云网络技术有限公司 Log storage method and device and medium
CN113094333A (en) * 2021-03-18 2021-07-09 智道网联科技(北京)有限公司 Method and device for managing running logs of vehicle-mounted terminal
CN113485965A (en) * 2021-06-22 2021-10-08 西安震有信通科技有限公司 Method, device and server for dynamically cleaning log files based on file sizes
CN113626393A (en) * 2021-06-28 2021-11-09 苏州浪潮智能科技有限公司 Log cutting method and related device
CN113626393B (en) * 2021-06-28 2023-07-14 苏州浪潮智能科技有限公司 Log cutting method and related device
CN113612791A (en) * 2021-08-11 2021-11-05 湖南中车时代通信信号有限公司 Network data monitoring equipment

Similar Documents

Publication Publication Date Title
CN111026728A (en) Log data processing method and related device
US9355112B1 (en) Optimizing compression based on data activity
CN109271435B (en) Data extraction method and system supporting breakpoint continuous transmission
CN109274679B (en) Access request recording method, device, equipment and readable storage medium
CN110222020B (en) Log file management method, device, computer equipment and storage medium
CN112714359B (en) Video recommendation method and device, computer equipment and storage medium
CN112734982A (en) Storage method and system for unmanned vehicle driving behavior data
CN111881096B (en) File reading method, device, equipment and storage medium
WO2016148738A1 (en) File management
CN110502510B (en) Real-time analysis and duplicate removal method and system for WIFI terminal equipment trajectory data
CN113239012B (en) Database migration method and device, electronic equipment and storage medium
CN111125018A (en) File exception tracing method, device, equipment and storage medium
KR101666440B1 (en) Data processing method in In-memory Database System based on Circle-Queue
CN111913913B (en) Access request processing method and device
CN113348450B (en) Vehicle-mounted data storage method and system
CN106933974B (en) Video file index information construction and query method and device
US9870385B2 (en) Computer system, data management method, and computer
CN105868057B (en) A kind of method, apparatus and mobile terminal of data processing
CN112269530A (en) Data storage management method and related device
CN112000623A (en) Metadata access method and device and computer readable storage medium
JP2005259041A (en) Data accumulation method and device
CN111104381A (en) Log management method, device and equipment and computer readable storage medium
CN109117387B (en) Management method, system and related components of inode cache space
CN106776249B (en) Method and system for processing concurrently generated service logs
CN106557435B (en) Cache mode identification method, cache module and storage 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417