CN113032355B - Method and device for batch collection of logs by Web application - Google Patents

Method and device for batch collection of logs by Web application Download PDF

Info

Publication number
CN113032355B
CN113032355B CN202110365702.XA CN202110365702A CN113032355B CN 113032355 B CN113032355 B CN 113032355B CN 202110365702 A CN202110365702 A CN 202110365702A CN 113032355 B CN113032355 B CN 113032355B
Authority
CN
China
Prior art keywords
log
container
logs
writing
web application
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
CN202110365702.XA
Other languages
Chinese (zh)
Other versions
CN113032355A (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.)
Shanghai Information2 Software Inc
Original Assignee
Shanghai Information2 Software Inc
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 Shanghai Information2 Software Inc filed Critical Shanghai Information2 Software Inc
Priority to CN202110365702.XA priority Critical patent/CN113032355B/en
Publication of CN113032355A publication Critical patent/CN113032355A/en
Application granted granted Critical
Publication of CN113032355B publication Critical patent/CN113032355B/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method and a device for collecting logs in batches by Web applications, wherein the method comprises the following steps: step S1, instantiating a log container; step S2, collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container; step S3, the log container uses the local storage as temporary log storage space, and the log text is temporarily written into the local storage; and S4, traversing the log records in the log container, and exporting the log records into a text file or exporting the text file to a log analysis server.

Description

Method and device for batch collection of logs by Web application
Technical Field
The invention relates to the technical field of Web application development, in particular to a method and a device for collecting logs in batches by a Web application.
Background
At present, as the functional structure of a Web program becomes increasingly complex, it often happens that a user encounters a strange bug in the use process of the production environment. Logging is necessary at this time because the developer cannot locate the problem directly in the production environment. In conventional desktop applications, the log is typically stored on the user's hard disk in the form of a file. However, the Web application has no right to write to the user storage medium because it is running in a sandbox like a browser.
The existing mainstream Web application log recording mode generally monitors abnormal states and then sends abnormal data to a log recording server in an http mode. In this logging method, when the log is dense, the logging server is frequently requested, which has a certain influence on the performance of the Web application.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a method and a device for collecting logs in batches by a Web application, so as to realize the purpose of quantitatively collecting the logs and reduce the influence of log records on the performance of the Web application.
In order to achieve the above purpose, the present invention provides a method for batch log collection of Web applications, comprising the following steps:
step S1, instantiating a log container to serve as a bridge for communication between the front-end code and the local storage;
step S2, collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container;
step S3, the log container uses the local storage as temporary log storage space, and the log text is temporarily written into the local storage;
and S4, traversing the log records in the log container, and exporting the log records into a text file or exporting the text file to a log analysis server.
Preferably, in step S1, a log container is instantiated, and the log record number limit, the log record format, and the log container size limit are configured as needed.
Preferably, prior to step S2, it is determined in advance according to development requirements which status information is to be recorded and according to requirements which processes of the program are to be logged.
Preferably, in step S2, the collected state information is serialized into a character string form and then written into the log container.
Preferably, the log container providing interface is invoked by a main program of the Web application.
Preferably, in step S3, before writing the log, it is checked whether the log container has a remaining space for writing the log, and if not, the longest batch of logs in the local storage is deleted.
Preferably, in step S4, if the log record is to be exported as a text file, a Blob object is instantiated first, then all log records in the log container are traversed, each log is written into the Blob object, and finally a browser downloading function is invoked to download the Blob object in a text file mode.
Preferably, if the log records are exported to the log analysis server, traversing all the log records in the log container, calling a write-in interface of the log analysis server, and writing all the logs into the log analysis server.
Preferably, the automatic export trigger is set according to the setting conditions such as time, log record number of log container, remaining byte number of log container and the like, after the export action is triggered, all log records in the log container are traversed, a writing interface of the log analysis server is called, and all logs are written into the log analysis server.
In order to achieve the above object, the present invention further provides a device for batch log collection by a Web application, including:
a log container instantiating unit for instantiating a log container as a bridge for communication between the front-end code and the local storage;
the log collecting unit is used for collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container;
a log container writing unit for temporarily writing the serialized log text into the local storage by using the local storage as a temporary log storage space;
and the log export unit is used for traversing the log records in the log container and exporting the log records into text files or exporting the text files to a log analysis server.
Compared with the prior art, the method and the device for collecting the logs in batches by the Web application realize the purpose of quantitatively collecting the logs by utilizing the functions of providing the written logs, reading the logs, controlling the written quantity and the written size of the logs and the like by using the log container, and actively report the logs to the log collecting server by a user or export the logs into text files, and even automatically collect the logs according to different triggering modes, thereby reducing the influence of the log records on the performance of the Web application.
Drawings
FIG. 1 is a diagram of the relationship between a Web application, a log container, and a local store of the present invention;
FIG. 2 is a flow chart of steps of a method for batch log collection by a Web application of the present invention;
FIG. 3 is a system architecture diagram of an apparatus for batch log collection for Web applications in accordance with the present invention;
FIG. 4 is a flowchart of log collection according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of log derivation according to an embodiment of the present invention.
Detailed Description
Other advantages and effects of the present invention will become readily apparent to those skilled in the art from the following disclosure, when considered in light of the accompanying drawings, by describing embodiments of the present invention with specific embodiments thereof. The invention may be practiced or carried out in other embodiments and details within the scope and range of equivalents of the various features and advantages of the invention.
Before describing the present invention, several concepts related to the present invention will be described:
1. a main program, herein referred to as a program running on the web;
2. log container: the invention provides a bridge for communication between a front-end code and a local storage localStorage, and provides functions of writing logs, reading logs, controlling the writing quantity and the writing size of the logs and the like, wherein a log container can be used only after being instantiated;
3. local storage localStorage: data in the form of characters may be saved locally as one of the basic functions of the browser. In the present invention, the local storage localStorage is a temporary storage location for logs.
The manner of invocation between the log container and the local store may refer to fig. 1.
FIG. 2 is a flow chart of steps of a method for batch log collection by a Web application of the present invention. As shown in fig. 2, the method for batch log collection by the Web application of the present invention includes the following steps:
in step S1, a log container is instantiated as a bridge for communication between the front end code and the local storage localStorage.
First, a log container is implemented by JavaScript to provide functions of writing a log, reading a log, controlling the writing quantity and size of the log, and then a log container is instantiated and basic restrictions such as a log record quantity restriction, a log record format, a log container size restriction, etc. are configured as needed.
And S2, collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container. In a specific embodiment of the invention, the collected state information is serialized into a character string form and then written into a log container.
In the invention, the log container is equivalent to a bridge between the Web application main program and the local storage localtorage, and can provide friendly interfaces and rich functions for the main program of the Web application to call, and the main program collects and sorts the state information which is determined to be recorded in advance and then writes the state information into the log container.
Specifically, it is first necessary to determine in advance which state information to record according to development requirements, and determine in advance which processes of the program to collect logs according to requirements; finally, the state information is serialized into a character string form and written into a log container.
In step S3, the log container uses the local storage localStorage as a temporary log storage space, and temporarily writes the serialized log text into the local storage localStorage.
Preferably, before writing the log, checking whether the log container has the remained space for writing the log, if not, deleting the longest batch of logs in the local storage localStorage, wherein the number of batches can be one or a plurality of batches, or a plurality of batches can be freely configured according to the use situation before a week or a plurality of days. Specifically, since the local storage used by the bottom layer of the log container has a size limitation, the log container has a limitation on the size of the writing content, and therefore, before writing the log, it is necessary to check whether the log container has a remaining space to write the log, and if not, delete the longest batch of logs in the local storage.
The main program writes the serialized log record into a log container, and the log container temporarily stores the log record in a local storage localStorage in the writing process. The log record after serialization is a segment of characters, and after the inspection of the remaining space of the log container, the remaining space of the log container can be ensured, so that a new log record is directly written into the log container, namely temporarily stored in a local storage.
It should be noted that, the local storage localStorage in the present invention is only a place where the log container temporarily stores the content. In the present invention, he does not have any interactive operation with the main program. The operation of the main program on the log function is an interface for calling the log container, and only when the log container is specifically implemented, the localStorage is called at the bottom layer to assist in storing the content.
And S4, traversing the log records in the log container, and exporting the log records into a text file or exporting the text file to a log analysis server.
Specifically, if the file is exported as a text file, a Blob object is instantiated first, then all log records in the log container are traversed, each log is written into the Blob object, finally a browser downloading function is called, and the Blob object is downloaded in a text file mode.
If the log records are to be exported to the log analysis server, traversing all log records in the log container, calling a write-in interface of the log analysis server, and writing all logs into the log analysis server.
Preferably, in the present invention, an automatic export trigger may be further set, where the automatic export trigger may be set according to setting conditions such as time, log record number of log container, remaining byte number of log container, etc., and after the export action is triggered, all log records in the log container are traversed, a write interface of the log analysis server is invoked, and all logs are written into the log analysis server.
Therefore, compared with the traditional web log collection mode (the traditional web log collection mode needs to send a log server to store the logs generated in the running process, and N logs need to be sent for N times), the log collection method and the system can not immediately send the logs to the log server but store the logs locally, and only send the logs to the log server after triggering according to the set triggering mode, so that the N logs can be sent to the log server only by far less than N times, and the method and the system can also export the logs into files, which cannot be achieved by the traditional log collection mode.
Fig. 3 is a system architecture diagram of an apparatus for batch log collection by Web applications according to the present invention. As shown in fig. 3, the device for batch log collection of Web applications of the present invention includes:
a log container instantiating unit 101, configured to instantiate a log container as a bridge for communication between the front-end code and the local storage localStorage.
First, the log container instantiation unit 101 implements a log container through JavaScript to implement functions of writing and reading logs, and then needs to instantiate a log container, configure some basic restrictions as needed, log record number restrictions, format of log records, size restrictions of log container, and so on.
The log collecting unit 102 is configured to collect logs during the running process of the Web application, collect and sort the state information that is predetermined to be recorded, and write the state information into a log container. In a specific embodiment of the invention, the collected state information is serialized into a character string form and then written into a log container.
In the present invention, the log container is equivalent to a bridge between the Web application main program and the local storage localtorage, and can provide friendly interfaces and rich functions for the Web application main program to call, and the log collecting unit 102 collects and sorts the state information which is determined to be recorded in advance through the main program and writes the state information into the log container.
That is, it is first necessary to determine in advance which state information to record according to development requirements, and to determine in advance which processes of the program to collect logs according to requirements; finally, the state information is serialized into the form of a string.
The log container writing unit 103 is configured to temporarily write the serialized log text into the local storage localStorage using the local storage localStorage as a temporary log storage space.
Preferably, before writing the log, it is checked whether the log container has a remaining space for writing the log, and if not, the longest batch of logs in the local storage localStorage is deleted. Specifically, since the local storage used by the bottom layer of the log container has a size limitation, the log container has a limitation on the size of the writing content, and therefore, before writing the log, it is necessary to check whether the log container has a remaining space to write the log, and if not, delete the longest batch of logs in the local storage.
The main program writes the log record after serialization into the log container, and during the writing process, the log container writing unit 103 temporarily stores the log record in the local storage localStorage. The log record after serialization is a segment of characters, and after checking the remaining space of the log container, the log container can already ensure that the log container has the remaining space, so the log container writing unit 103 directly writes the new log record into the log container, i.e. temporarily stores the new log record into the local storage localStorage.
The log exporting unit 104 is configured to traverse the log records in the log container and export the log records as text files or export the log records to the log analysis server.
Specifically, if the log is exported as a text file, the log exporting unit 104 first instantiates a Blob object, then traverses all log records in the log container, writes each log into the Blob object, and finally invokes the browser downloading function to download the Blob object in a text file manner.
If it is to be exported to the log analysis server, the log exporting unit 104 traverses all log records in the log container, and invokes the write interface of the log analysis server to write all logs into the log analysis server.
Preferably, in the present invention, an automatic export trigger may be further set, where the automatic export trigger may be set according to setting conditions such as time, log record number of log container, remaining byte number of log container, etc., and after the export action is triggered, the log export unit 104 traverses all log records in the log container, invokes a write interface of the log analysis server, and writes all logs into the log analysis server.
Examples
In this embodiment, a method for batch log collection by a Web application includes the following steps:
step one: initialization of
Initializing the log container requires instantiating one log container, configuring some basic restrictions as needed, log number restrictions, log format, log container size restrictions, etc.
Step two: log collection
Log collection means that some state information is collected in order and written into a log system, namely a log container, in the running process of a program.
Firstly, determining which state information to record according to development requirements; secondly, determining which processes of the program collect logs, namely when the program collects logs, and which logs are collected; finally, the state information is serialized into the form of a string. The collection process may refer to fig. 4.
Step three: log writing
In the invention, localStorage is used as a temporary log storage space, so in the step, the log text which is serialized in the step two is written into localStorage:
1. checking if the log container is full
Because the localStorage used at the bottom of the log container has a size limitation, the log container has a corresponding limitation on the size of the written content. At this step, it is checked whether the log container has the remaining space to write the log, if not, the longest batch of logs is deleted;
2. writing the serialized log record into a log container, wherein the log record is written into the log container by a main program, and the log container temporarily stores the content in a localStorage in the writing process. The log record after serialization is a segment of characters, and after the checking in step 1, the log container can be ensured to have a residual space, so that a new log record is directly written into the container.
Step four: log export
In this embodiment, there are three main scenarios of log export, and reference may be made to fig. 5:
scene one, exporting as text file
Scene two, exporting to log analysis server
Scene three, automatically exporting to log analysis server
For scenario one: the method is exported to a text file, and comprises the following specific implementation steps:
step 1, instantiating a Blob object;
step 2, traversing all log records in a log container, and writing each log into the Blob object;
and step 3, calling a browser downloading function, and downloading the Blob object in a text file mode.
For scenario two: the method is exported to a log analysis server, and comprises the following specific implementation steps:
step 1, traversing all log records in a log container.
And step 2, calling a writing interface of the log analysis server, and writing all logs into the log analysis server.
For scenario three: the method is automatically led out to a log analysis server, and comprises the following specific implementation steps:
step 1, setting an automatic export trigger: the trigger can be set according to the setting conditions of time, log record number of log container, remaining byte number of log container and the like;
step 2, after triggering the export action, traversing all log records in the log container;
and step 3, calling a writing interface of the log analysis server, and writing all logs into the log analysis server.
In summary, the method and the device for collecting logs in batches by the Web application realize the purpose of quantitatively collecting logs by using the log container to provide the functions of writing logs, reading logs, controlling the writing quantity and the writing size of the logs and the like, and the logs are actively reported to the log collecting server by a user or exported as text files, and even the logs can be automatically collected according to different triggering modes, so that the influence of the log records on the performance of the Web application is reduced.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, the scope of the invention is to be indicated by the appended claims.

Claims (10)

1. A method for collecting logs in batches by Web application comprises the following steps:
step S1, instantiating a journal container to serve as a bridge for communication between the front-end code and the local store;
step S2, collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be collected and recorded in advance, and writing the state information into a log container;
step S3, the log container uses the local storage as temporary log storage space, and the log text is temporarily written into the local storage;
and S4, traversing the log records in the log container, and exporting the log records into a text file or exporting the text file to a log analysis server.
2. The method according to claim 1, wherein in step S1, a log container is instantiated, and the log record number limit, the log record format, and the log container size limit are configured as needed.
3. The method for batch log collection by a Web application according to claim 2, wherein: prior to step S2, it is determined in advance which state information is to be recorded according to development requirements and which processes of the program log is collected according to requirements.
4. The method for batch log collection by a Web application according to claim 3, wherein: in step S2, the collected state information is serialized into a character string form and then written into the log container.
5. The method for batch log collection by a Web application according to claim 4, wherein: the log container providing interface is invoked by a main program of the Web application.
6. The method for batch log collection by a Web application according to claim 5, wherein: in step S3, before writing the log, it is checked whether the log container has a remaining space for writing the log, and if not, the longest batch of logs in the local storage is deleted.
7. The method for batch log collection by a Web application according to claim 6, wherein: in step S4, if the log record is to be exported as a text file, a Blob object is instantiated first, then all log records in the log container are traversed, each log is written into the Blob object, and finally a browser downloading function is invoked to download the Blob object according to the text file.
8. The method for batch log collection by a Web application according to claim 6, wherein: if the log records are exported to the log analysis server, traversing all the log records in the log container, calling a writing interface of the log analysis server, and writing all the logs into the log analysis server.
9. The method for batch log collection by a Web application according to claim 6, wherein: setting an automatic export trigger according to the time, the log record number of the log container and the setting condition of the remaining byte number of the log container, traversing all log records in the log container after the export action is triggered, calling a writing interface of a log analysis server, and writing all logs into the log analysis server.
10. An apparatus for batch collection of logs by Web applications, comprising:
a log container instantiating unit for instantiating a log container as a bridge for communication between the front-end code and the local storage;
the log collecting unit is used for collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container;
a log container writing unit for temporarily writing the serialized log text into the local storage by using the local storage as a temporary log storage space;
and the log export unit is used for traversing the log records in the log container and exporting the log records into text files or exporting the text files to a log analysis server.
CN202110365702.XA 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application Active CN113032355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110365702.XA CN113032355B (en) 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110365702.XA CN113032355B (en) 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application

Publications (2)

Publication Number Publication Date
CN113032355A CN113032355A (en) 2021-06-25
CN113032355B true CN113032355B (en) 2023-06-09

Family

ID=76453717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110365702.XA Active CN113032355B (en) 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application

Country Status (1)

Country Link
CN (1) CN113032355B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129685A (en) * 2006-11-17 2008-06-05 Dream Ware Inc Work content recording system, its method, and its program
CN102356390A (en) * 2009-03-16 2012-02-15 微软公司 Flexible logging, such as for a web server
CN106354765A (en) * 2016-08-19 2017-01-25 广东亿迅科技有限公司 Log analysis system and method based on distributed collection
WO2017071134A1 (en) * 2015-10-28 2017-05-04 北京汇商融通信息技术有限公司 Distributed tracking system
CN108205477A (en) * 2016-12-16 2018-06-26 上海仪电(集团)有限公司中央研究院 Server stress test method
CN109933484A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 Big data cluster quasi real time container resource allocation monitoring analysis method
WO2020162680A1 (en) * 2019-02-08 2020-08-13 아콘소프트 주식회사 Microservice system and method
CN112069254A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Djangorestframe-based log recording method and system

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020062259A1 (en) * 2000-09-26 2002-05-23 Katz James S. Server-side system responsive to peripherals
US20080275951A1 (en) * 2007-05-04 2008-11-06 International Business Machines Corporation Integrated logging for remote script execution
JP4906672B2 (en) * 2007-10-22 2012-03-28 株式会社日立製作所 Web application process recording method and process recording apparatus
JP5676864B2 (en) * 2009-09-18 2015-02-25 キヤノン株式会社 System, user interface display control method in the system, server, information processing apparatus, and program
JP2012190345A (en) * 2011-03-11 2012-10-04 Nec Corp Automatic log information collecting device and automatic log information collecting method
CN103595744B (en) * 2012-08-16 2018-08-07 腾讯科技(深圳)有限公司 The method and client of information management
CN103942199A (en) * 2013-01-18 2014-07-23 腾讯科技(北京)有限公司 Method and device for obtaining picture information on webpages and terminal
US10542031B2 (en) * 2015-02-20 2020-01-21 Authentic8, Inc. Secure application for accessing web resources
CN106649033A (en) * 2016-11-08 2017-05-10 努比亚技术有限公司 Web system health check method and device
CN106649744B (en) * 2016-12-26 2019-11-05 金蝶软件(中国)有限公司 Log recording method and device
CN110569424A (en) * 2018-05-18 2019-12-13 北京京东尚科信息技术有限公司 Information recommendation method and device
CN109274556A (en) * 2018-11-09 2019-01-25 四川长虹电器股份有限公司 A kind of collection and analysis system of web log
CN109739738A (en) * 2018-12-26 2019-05-10 深圳市网心科技有限公司 Event log management method, system and relevant apparatus based on HTML5
CN111488254A (en) * 2019-01-25 2020-08-04 顺丰科技有限公司 Deployment and monitoring device and method of machine learning model
CN111143828A (en) * 2019-12-11 2020-05-12 中盈优创资讯科技有限公司 Safety control method and device for Web page and service
CN111309574B (en) * 2020-02-17 2023-09-05 北京百度网讯科技有限公司 Information processing method, device and equipment
CN111581051A (en) * 2020-04-21 2020-08-25 深圳震有科技股份有限公司 System operation log processing method, device, equipment and medium based on web front end
CN111782618B (en) * 2020-06-24 2023-01-31 中国电子科技集团公司电子科学研究院 Data synchronization system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129685A (en) * 2006-11-17 2008-06-05 Dream Ware Inc Work content recording system, its method, and its program
CN102356390A (en) * 2009-03-16 2012-02-15 微软公司 Flexible logging, such as for a web server
WO2017071134A1 (en) * 2015-10-28 2017-05-04 北京汇商融通信息技术有限公司 Distributed tracking system
CN106354765A (en) * 2016-08-19 2017-01-25 广东亿迅科技有限公司 Log analysis system and method based on distributed collection
CN108205477A (en) * 2016-12-16 2018-06-26 上海仪电(集团)有限公司中央研究院 Server stress test method
CN109933484A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 Big data cluster quasi real time container resource allocation monitoring analysis method
WO2020162680A1 (en) * 2019-02-08 2020-08-13 아콘소프트 주식회사 Microservice system and method
CN112069254A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Djangorestframe-based log recording method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周德永 ; 王瑞刚 ; 梁小江 ; .基于ELK自动化收集Docker容器日志的分析系统.电子设计工程.2017,(第19期),全文. *
姜良华 ; 陈超泉 ; .Web日志统计分析系统的设计与实现.福建电脑.2008,(第11期),全文. *
贲永明 ; 韩言妮 ; 安伟 ; 徐震 ; .一种基于污点追踪的系统审计日志压缩方法.信息安全学报.2020,(第05期),全文. *
郭建磊 ; 董蕾 ; 邱忠杰 ; .一种工业云PaaS平台统一日志服务系统.信息技术与信息化.2020,(第03期),全文. *

Also Published As

Publication number Publication date
CN113032355A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
KR101021394B1 (en) Programmatic computer problem diagnosis and resolution and automated reporting and updating of the same
US7617074B2 (en) Suppressing repeated events and storing diagnostic information
US7904493B2 (en) Method and system for object age detection in garbage collection heaps
KR102525502B1 (en) Method and apparatus for storing auto-drive test data, electronic device, storage medium and program
US7886281B2 (en) System and methods for cross-tier transaction tracing
US6237143B1 (en) Method and system for monitoring and capturing all file usage of a software tool
US20150143182A1 (en) Varying Logging Depth Based On User Defined Policies
US20080244537A1 (en) Method and system for customizing profiling sessions
US20070192700A1 (en) Support of remote software applications
US7251808B2 (en) Graphical debugger with loadmap display manager and custom record display manager displaying user selected customized records from bound program objects
US8694834B2 (en) Preventing log wrap with debug scripts
CA2433750A1 (en) Automatic collection of trace detail and history data
US20160300069A1 (en) Data sanitization
US7096339B2 (en) System and method for detecting memory management programming errors
CN106682162A (en) Log management method and device
CN109359092B (en) File management method, desktop display method, device, terminal and medium
CN112214388A (en) Memory monitoring method, device, equipment and computer readable storage medium
US11580228B2 (en) Coverage of web application analysis
CN111459764A (en) Log management method and terminal
US9916220B2 (en) Smart logging of trace data for storage systems
US20080244324A1 (en) Method and system for providing enhanced exception messages for exceptions thrown by virtual machines
CN113032355B (en) Method and device for batch collection of logs by Web application
US6240529B1 (en) Debugging method and debugging apparatus for microcomputer system and recording medium on which debug program is recorded
CN116795712A (en) Reverse debugging method, computing device and storage medium
CN106557572A (en) A kind of extracting method and system of Android application program file

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