CN109388622A - A kind of log information processing method, device, equipment and readable storage medium storing program for executing - Google Patents
A kind of log information processing method, device, equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109388622A CN109388622A CN201811295943.6A CN201811295943A CN109388622A CN 109388622 A CN109388622 A CN 109388622A CN 201811295943 A CN201811295943 A CN 201811295943A CN 109388622 A CN109388622 A CN 109388622A
- Authority
- CN
- China
- Prior art keywords
- log
- log information
- demons
- state
- target user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of log information processing methods, method includes the following steps: obtaining the log information that target user's state demons generate;The log mark at target user's state demons current time is read, and judges that log identifies whether to debug for foreground and identifies;If so, exporting log information to the console of target user's state demons;If not, by the journal file of log information write-in target user's state demons.By modification log mark, the tupe of log information can be switched, and when log is identified as foreground debugging, it can be in console fast and accurately show log information.The invention also discloses a kind of log information processing unit, equipment and readable storage medium storing program for executing, have corresponding technical effect.
Description
Technical field
The present invention relates to monitoring technology field, more particularly to a kind of log information processing method, device, equipment and readable
Storage medium.
Background technique
To avoid computer application system interruption from externally providing service, or quick-recovery service function fastly after breaking down, it is past
Toward needing to be monitored multiple programs in system.In the log information deposit journal file generated when program being run,
To be monitored based on the log information that journal file records to system.
By linux log system interface, the User space demons in system can be recorded to Linux system log text
In part.But since Linux system journal file has recorded the log information of various program, when console needs
When reading the log information for showing some User space demons, it can not be read rapidly and accurately from Linux system journal file
Get the log information of the User space demons.It, can be because in particular, User space demons break down or when being debugged
The log information that User space demons generate in real time can not be shown in console, in turn result in and be difficult to positioning failure, increase and adjust
The problems such as trying difficulty.In addition, when User space demons operate normally, and journal file need to be written in log information.
In conclusion the problems such as how efficiently solving the processing of log information, is that current those skilled in the art are badly in need of
The technical issues of solution.
Summary of the invention
The object of the present invention is to provide a kind of log information processing method, device, equipment and readable storage medium storing program for executing, in log
It when being identified as foreground debugging mark, realizes that log information is quickly exported to console, and identifies non-foreground debugging mark in log
When, journal file is written into log information, to meet the needs of different scenes.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of log information processing method, comprising:
Obtain the log information that target user's state demons generate;
Read target user's state demons current time log mark, and judge the log identify whether as
Foreground debugging mark;
If so, exporting the log information to the console of target user's state demons;
If not, the log information to be written to the journal file of target user's state demons.
Preferably, further includes:
Debugging setting request is received, determines that corresponding target debugging mode is requested in the debugging setting;
The log mark is read, and judges whether the log mark matches with the target debugging mode;
If it is not, then modifying the log mark.
Preferably, the log information is written to the journal file of target user's state demons, comprising:
It is inserted into the circulation message queue of default log finger daemon using the log information as message blocks, so as to described
The journal file is written in the log information by default log finger daemon.
Preferably, it is inserted into the circulation message queue of default log finger daemon using the log information as message blocks,
Include:
By the standard input of target user's state finger daemon, standard output and standard error output, it is redirected to institute
State the filec descriptor of circulation message queue;
Using the filec descriptor, the circulation of default log finger daemon is inserted into using the log information as message blocks
In message queue.
Preferably, the log information for obtaining target user's state demons and generating, comprising:
Obtain the log information generated when target user's state demons debugging.
Preferably, the log information for obtaining target user's state demons and generating, comprising:
The log information that target user's state demons generate is obtained in real time;Wherein, target user's state is guarded
Program is the driver of User space.
A kind of log information processing unit, comprising:
Log information obtains module, for obtaining the log information of target user's state demons generation;
Log identifies judgment module, and the log for reading target user's state demons current time identifies, and
Judge that the log identifies whether to debug for foreground to identify;
Foreground log information display module, for being kept if so, exporting the log information to target user's state
Protect the console of program;
Backstage journal file generation module, for being guarded if not, target user's state is written in the log information
The journal file of program.
Preferably, further includes:
Log information tupe switching module determines the debugging setting request pair for receiving debugging setting request
The target debugging mode answered;Read log mark, and judge the log mark and the target debugging mode whether
Match;If it is not, then modifying the log mark.
A kind of log information processing equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned log information processing method is realized when for executing the computer program.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
The step of processor realizes above-mentioned log information processing method when executing.
Using method provided by the embodiment of the present invention, the log information that target user's state demons generate is obtained;It reads
It takes the log at target user's state demons current time to identify, and judges that log identifies whether to debug for foreground and identify;If
It is to export log information to the console of target user's state demons;If not, target user's state is written in log information
The journal file of demons.
After obtaining the log information that target user's state demons generate, reading target user's state demons first are current
The log at moment identifies.Judge that the log identifies whether to debug for foreground to identify, if it is, log information is directly output to
Console.So log information can be directly shown in console, without journal file is first written, then again from journal file
Middle lookup log information.If log identifies non-foreground debugging mark, illustrate at this time without believing in console real-time display log
Then journal file is written in log information by breath.In this way, needing controlling when log is identified as foreground debugging mark
When platform shows real-time log information, the log information that can efficiently and accurately will acquire is directly output to console;And
Without in console show log information, changing log mark, journal file can be written in log information, to achieve.That is,
By modification log mark, the tupe of log information can be switched, and when log is identified as foreground debugging, can controlled
Platform fast and accurately show log information.
Correspondingly, the embodiment of the invention also provides log information corresponding with above-mentioned log information processing method processing
Device, equipment and readable storage medium storing program for executing, have above-mentioned technique effect, and details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of log information processing method in the embodiment of the present invention;
Fig. 2 is a kind of specific implementation flow chart of log information processing method in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of log information processing unit in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of log information processing equipment in the embodiment of the present invention;
Fig. 5 is a kind of concrete structure schematic diagram of log information processing equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow chart of log information processing method in the embodiment of the present invention, this method is available
In with record log interface.Method includes the following steps:
S101, the log information that target user's state demons generate is obtained.
In embodiments of the present invention, target user's state demons can be common User space finger daemon, for example, driving
The relevant program of program, load balancing and distributed storage program etc..The mode for obtaining log information concretely utilizes mesh
The process for marking User space demons itself obtains, and a log for target user's state demons can also be separately provided and believe
Then the log finger daemon of breath obtains log information by the log finger daemon.Wherein, log information is target user
State demons can all generate the logout information for being log in running, and logout information includes but is not limited to day
The description of the relevant operations such as phase, time, user and movement.Certainly, in other embodiments of the invention, which can
Think the log information that target user's state program is generated in debugging.Information when being debugged to target user's state program.
Preferably, when being debugged or being broken down, if debugging can be can be improved in console real-time display log information
Efficiency, quick positioning failure.Therefore, when obtaining log information, target user's state can be obtained in real time and the log generated letter occurs
Breath.For example, the production of target user's state demons can be obtained in real time when the driver that target user's state demons are User space
Raw log information.
S102, the log mark for reading target user's state demons current time, and judge that log identifies whether to be preceding
Platform debugging mark.
In embodiments of the present invention, a mark object can be preset to identify as log.For example, settable log mark
Knowing is a parameter a, and the rule that sets a property, and such as a=0, as foreground debugging is identified, when 1 ≠ 0, i.e., non-foreground tune
Test-object is known and (can be referred to as backstage debugging mark).Before starting target user's state demons, default value may be configured as, can incite somebody to action
It is set as a=1 or a=0, but in view of under normal circumstances, being not necessarily in console show log information, therefore can incite somebody to action
The numerical value of a ≠ 0 is set.And needing to show log information in console, log can be identified and be modified.
It, can be based on the attribute rule that log identifies after reading the log mark at target user's state demons current time
Then, judge that log identifies whether foreground debugging mark.Determine the processing mode of log information according to judging result, i.e., if
It is to then follow the steps S103, thens follow the steps S104 if not.
Certainly, in other embodiments of the invention, also it can judge that log identifies whether after reading log mark
For backstage debugging mark, subsequent operation is then accordingly adjusted.For example, if judging, log is identified whether as backstage debugging mark
Know, the operation of step S104 if it is can be performed, then follow the steps the operation of S103 if not.
Preferably, for convenient for operation, the embodiment of the invention also provides the mode of modification log mark, which includes:
Step 1: receiving debugging setting request, determine that corresponding target debugging mode is requested in debugging setting;
Step 2: reading log mark, and judge whether log mark matches with target debugging mode;
Step 3: if it is not, then modification log mark.
It is illustrated for ease of description, below combining above three step.
Need to debug target user's state demons or target user's state demons break down need it is fixed
Position failure etc. is needed when console shows log information, and user can be by way of inputting order line, to record log interface
Send debugging setting request.Debugging setting request is to carry the request what debugging mode that request is arranged is specifically,
Wherein debugging mode can be divided into foreground debugging and backstage is debugged.It is requested when record log interface is arranged to debugging, first really
Corresponding target debugging module is requested in fixed debugging setting, that is, determines that request is set as foreground debugging mode or backstage debugging mould
Formula.Then, log mark is read, pre-set mapping relations can be based on, judge that the log mark and target debugging mode are
No matching.If it is judged that for matching, then without being operated;If it is judged that then log mark is repaired to mismatch
It is changed to and the matched mark of target debugging mode.
S103, log information is exported to the console of target user's state demons.
When determining that log is identified as foreground debugging mark, that is, show to need to show log information in console at this time, because
And directly log information can be exported to console at this time.So that user is completed by the log information of reading console to target
The operation such as the debugging of User space demons or fault location.
S104, the journal file that log information is written to target user's state demons.
When determining that log identifies non-foreground debugging mark, then show to be not necessarily to show log information in console at this time, because
And directly log information can be written in the journal file of target user's state demons at this time.Log information is written to log text
The mode of part can refer to common log wiring method, and details are not described herein.
Using method provided by the embodiment of the present invention, the log information that target user's state demons generate is obtained;It reads
It takes the log at target user's state demons current time to identify, and judges that log identifies whether to debug for foreground and identify;If
It is to export log information to the console of target user's state demons;If not, target user's state is written in log information
The journal file of demons.
After obtaining the log information that target user's state demons generate, reading target user's state demons first are current
The log at moment identifies.Judge that the log identifies whether to debug for foreground to identify, if it is, log information is directly output to
Console.So log information can be directly shown in console, without journal file is first written, then again from journal file
Middle lookup log information.If log identifies non-foreground debugging mark, illustrate at this time without believing in console real-time display log
Then journal file is written in log information by breath.In this way, needing controlling when log is identified as foreground debugging mark
When platform shows real-time log information, the log information that can efficiently and accurately will acquire is directly output to console;And
Without in console show log information, changing log mark, journal file can be written in log information, to achieve.That is,
By modification log mark, the tupe of log information can be switched, and when log is identified as foreground debugging, can controlled
Platform fast and accurately show log information.
Preferably, it is contemplated that Linux log system interface at present, together by the log information of multiple User space demons
It is written in Linux system journal file, if it is desired to, can not be quick and precisely when individually reading the history log information of some program
Take history log information.To solve this problem, the embodiment of the invention also provides following solutions:
When executing above-mentioned steps S104, specifically default log finger daemon can be inserted into using log information as message blocks
In circulation message queue, journal file is written to preset log finger daemon for log information.That is, presetting one
A log finger daemon, and corresponding circulation message queue is set for log finger daemon, which can be considered
Memory sharing area, the memory sharing area are the communication node of log recording interface Yu log finger daemon.Log recording interface
Using log information as in message blocks insertion circulation message queue, default log finger daemon reads day from circulation message queue
Will information, and be written in the journal file of target user's state finger daemon.In this way, can be by the day of target user's state demons
Will information is stripped out from linux system journal file, when needing the history run to target user's state demons
When being analyzed, then history log information can be quickly taken by reading journal file.
Specifically, only being needed pair since target user's state finger daemon itself is just with the output function of log information
The filec descriptor of output journal information redirects the log that log information can be individually stored in target user's state demons
In file.The specific implementation process is as follows:
Step 1: standard input, standard output and the standard error of target user's state finger daemon are exported, it is redirected to
The filec descriptor of circulation message queue;Wherein, standard input, standard output and standard error output are log information.
Step 2: being inserted into the circulation of default log finger daemon using log information as message blocks using filec descriptor
In message queue.
Embodiment two:
To more fully understand technical solution provided by the embodiment of the present invention convenient for those skilled in the art, below with target
For User space demons is the drivers of User space, it is provided for the embodiments of the invention technical solution and carries out specifically
It is bright.The present embodiment can be cross-referenced with embodiment one.
Front and back is arranged inside target drives program to debug mark (identifying with log herein), it is silent when program starts
Recognize selection backstage debugging Starting mode, foreground debud mode can also be set by order line and start.The debugging starting of selection backstage
When mode, log recording is entered to single-minded journal file, facilitates the phenomenon that breaking down before positioning and reason;Select foreground tune
When examination, log is output to console, facilitates reproduction failure, positioning failure reason.
In the target drives program opening initialization stage, front and back debugging mark is obtained, it, will if backstage debud mode
Standard input, standard output, standard error output, are redirected to new filec descriptor, and it is next special defeated to establish a finger daemon
Log out, while establishing communication of the memory sharing area as business process and log finger daemon.Using memory sharing area as one
A circulation message queue.
In the target drives program opening initialization stage, front and back debugging mark is obtained, if foreground debud mode, is not required to
Carry out specially treated.
Business process record log calls record log interface, which judges front and back debugging mark, if it is rear
Platform debud mode, business process is inserted into output journal as a message blocks in circulation message queue, and log finger daemon
Then message is taken out from circulation message queue to be output in journal file.If it is foreground debud mode, log is output to
Console.
Referring to FIG. 2, being configured before starting target drives program, and starting target drives program to processing target is driven
Log overall flow caused by dynamic program includes:
S201: default setting backstage log;
S202: whether foreground debugging is set when examining starting and jumps S205 if foreground is debugged, otherwise jumps S203;
S203: standard input, standard output, standard error are exported, are redirected to new text by the initialization of log finger daemon
Part descriptor;
S204: establishing memory sharing area, the communication as business process and system log finger daemon;
S205: business process record log;
S206: calling record log interface, containing front and back debugging mark;
S207: judge that front and back debugging identifies whether to debug if it is foreground for foreground debugging, jump S212, otherwise
Jump S208;
S208: using output journal as the circulation message queue in a message blocks insertion memory sharing area;
S209: log process is waken up;
S210: circulation message queue is taken to take message from shared drive;
S211: message is output to journal file;
S212: output journal is output to console.
That is step S201 is setting start-up mode, and step S202 to step S205 is under different mode, and corresponding starting is set
Set, step S206 to S212 be when driver generate log information when, based on front and back debugging mark, to log information into
The corresponding processing of row.Can be directed to target drives normal program operation when do not need Debugging message, when a failure occurs again need into
The problem of row foreground debugging, analyzing failure cause.It can be real using log information processing method provided by the embodiment of the present invention
Existing target drives program takes into account front and back debugging, to realize the O&M efficiency for improving target drives program.
Embodiment three:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of log information processing units, hereafter
The log information processing unit of description can correspond to each other reference with above-described log information processing method.
Shown in Figure 3, which comprises the following modules:
Log information obtains module 101, for obtaining the log information of target user's state demons generation;
Log identifies judgment module 102, and the log for reading target user's state demons current time identifies, and sentences
Disconnected log is identified whether to debug for foreground and be identified;
Foreground log information display module 103, for if so, exporting log information to target user's state demons
Console;
Backstage journal file generation module 104, for if not, by log information write-in target user's state demons
Journal file.
Using device provided by the embodiment of the present invention, the log information that target user's state demons generate is obtained;It reads
It takes the log at target user's state demons current time to identify, and judges that log identifies whether to debug for foreground and identify;If
It is to export log information to the console of target user's state demons;If not, target user's state is written in log information
The journal file of demons.
After obtaining the log information that target user's state demons generate, reading target user's state demons first are current
The log at moment identifies.Judge that the log identifies whether to debug for foreground to identify, if it is, log information is directly output to
Console.So log information can be directly shown in console, without journal file is first written, then again from journal file
Middle lookup log information.If log identifies non-foreground debugging mark, illustrate at this time without believing in console real-time display log
Then journal file is written in log information by breath.In this way, needing controlling when log is identified as foreground debugging mark
When platform shows real-time log information, the log information that can efficiently and accurately will acquire is directly output to console;And
Without in console show log information, changing log mark, journal file can be written in log information, to achieve.That is,
By modification log mark, the tupe of log information can be switched, and when log is identified as foreground debugging, can controlled
Platform fast and accurately show log information.
In a kind of specific embodiment of the invention, further includes:
Log information tupe switching module determines that debugging setting request is corresponding for receiving debugging setting request
Target debugging mode;Log mark is read, and judges whether log mark matches with target debugging mode;If it is not, then modification
Log mark.
In a kind of specific embodiment of the invention, backstage journal file generation module 104, specifically for believing log
It ceases and is inserted into as message blocks in the circulation message queue of default log finger daemon, believed to preset log finger daemon for log
Breath write-in journal file.
In a kind of specific embodiment of the invention, backstage journal file generation module 104, specifically for using target
Standard input, standard output and the standard error output of family state finger daemon, are redirected to the file description of circulation message queue
Symbol;Using filec descriptor, it is inserted into the circulation message queue of default log finger daemon using log information as message blocks.
In a kind of specific embodiment of the invention, log information obtains module 101, is specifically used for obtaining target user
The log information that state demons generate when debugging.
In a kind of specific embodiment of the invention, log information obtains module 101, is specifically used for obtaining target in real time
The log information that User space demons generate;Wherein, target user's state demons are the driver of User space.
Example IV:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of log information processing equipments, hereafter
A kind of log information processing equipment of description can correspond to each other reference with a kind of above-described log information processing method.
Shown in Figure 4, which includes:
Memory D1, for storing computer program;
Processor D2 realizes the step of the log information processing method of above method embodiment when for executing computer program
Suddenly.
Specifically, referring to FIG. 5, for a kind of specific structure signal of log information processing equipment provided in this embodiment
Figure, the log information processing equipment can generate bigger difference because configuration or performance are different, may include one or one
The above processor (central processing units, CPU) 322 (for example, one or more processors) and storage
Device 332, one or more storage application programs 342 or data 344 storage medium 330 (such as one or more
Mass memory unit).Wherein, memory 332 and storage medium 330 can be of short duration storage or persistent storage.It is stored in storage
The program of medium 330 may include one or more modules (diagram does not mark), and each module may include at data
Manage the series of instructions operation in equipment.Further, central processing unit 322 can be set to communicate with storage medium 330,
The series of instructions operation in storage medium 330 is executed in log information processing equipment 301.
Log information processing equipment 301 can also include one or more power supplys 326, one or more are wired
Or radio network interface 350, one or more input/output interfaces 358, and/or, one or more operating systems
341.For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in log information processing method as described above can be realized by the structure of log information processing equipment.
Embodiment five:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below
A kind of readable storage medium storing program for executing can correspond to each other reference with a kind of above-described log information processing method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor
The step of log information processing method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk
The readable storage medium storing program for executing of code.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Claims (10)
1. a kind of log information processing method characterized by comprising
Obtain the log information that target user's state demons generate;
The log mark at target user's state demons current time is read, and judges that the log identifies whether as foreground
Debugging mark;
If so, exporting the log information to the console of target user's state demons;
If not, the log information to be written to the journal file of target user's state demons.
2. log information processing method according to claim 1, which is characterized in that further include:
Debugging setting request is received, determines that corresponding target debugging mode is requested in the debugging setting;
The log mark is read, and judges whether the log mark matches with the target debugging mode;
If it is not, then modifying the log mark.
3. log information processing method according to claim 1, which is characterized in that the mesh is written in the log information
Mark the journal file of User space demons, comprising:
It is inserted into the circulation message queue of default log finger daemon using the log information as message blocks, so as to described default
The journal file is written in the log information by log finger daemon.
4. log information processing method according to claim 3, which is characterized in that using the log information as message blocks
It is inserted into the circulation message queue of default log finger daemon, comprising:
By the standard input of target user's state finger daemon, standard output and standard error output, it is redirected to described follow
The filec descriptor of ring message queue;
Using the filec descriptor, the circulation message of default log finger daemon is inserted into using the log information as message blocks
In queue.
5. log information processing method according to any one of claims 1 to 4, which is characterized in that the acquisition target is used
The log information that family state demons generate, comprising:
Obtain the log information generated when target user's state demons debugging.
6. log information processing method according to claim 1, which is characterized in that acquisition target user's state guards journey
The log information that sequence generates, comprising:
The log information that target user's state demons generate is obtained in real time;Wherein, target user's state demons
For the driver of User space.
7. a kind of log information processing unit characterized by comprising
Log information obtains module, for obtaining the log information of target user's state demons generation;
Log identifies judgment module, and the log for reading target user's state demons current time identifies, and judges
The log is identified whether to debug for foreground and be identified;
Foreground log information display module, for guarding journey if so, exporting the log information to target user's state
The console of sequence;
Backstage journal file generation module is used for if not, target user's state demons are written in the log information
Journal file.
8. log information processing unit according to claim 7, which is characterized in that further include:
Log information tupe switching module determines that the debugging setting request is corresponding for receiving debugging setting request
Target debugging mode;The log mark is read, and judges whether the log mark matches with the target debugging mode;Such as
Fruit is no, then modifies the log mark.
9. a kind of log information processing equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the log information processing side as described in any one of claim 1 to 6 when for executing the computer program
The step of method.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing
It is realized when calculation machine program is executed by processor as described in any one of claim 1 to 6 the step of log information processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811295943.6A CN109388622B (en) | 2018-11-01 | 2018-11-01 | Log information processing method, device and equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811295943.6A CN109388622B (en) | 2018-11-01 | 2018-11-01 | Log information processing method, device and equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109388622A true CN109388622A (en) | 2019-02-26 |
CN109388622B CN109388622B (en) | 2022-05-24 |
Family
ID=65428455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811295943.6A Active CN109388622B (en) | 2018-11-01 | 2018-11-01 | Log information processing method, device and equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109388622B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263004A (en) * | 2019-05-08 | 2019-09-20 | 北京字节跳动网络技术有限公司 | Log recording method, device, electronic equipment and storage medium |
CN110597722A (en) * | 2019-09-17 | 2019-12-20 | 深圳市及响科技有限公司 | Online debugging method for online development platform |
CN111813630A (en) * | 2020-07-14 | 2020-10-23 | 深圳市友杰智新科技有限公司 | Method and device for collecting log information and computer equipment |
CN111880849A (en) * | 2020-07-21 | 2020-11-03 | 深圳创维-Rgb电子有限公司 | Intelligent log control processing method and device for platform |
CN112732665A (en) * | 2021-01-04 | 2021-04-30 | 歌尔股份有限公司 | Log processing method, system and storage medium based on Linux platform |
CN115080355A (en) * | 2022-07-20 | 2022-09-20 | 北京未来智安科技有限公司 | Method and device for generating monitoring log |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001318810A (en) * | 2000-05-11 | 2001-11-16 | Ricoh Co Ltd | Inter-process communication log system and device and recording medium with procedure of the same log recorded |
CN101183333A (en) * | 2007-12-12 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Method for outputting diary of debugging program, device and system |
US20110023019A1 (en) * | 2009-07-23 | 2011-01-27 | International Business Machines Corporation | Monitoring File Access of Java Processes |
CN102073489A (en) * | 2009-11-23 | 2011-05-25 | 新奥特(北京)视频技术有限公司 | Method and device for generating debug log |
CN105868092A (en) * | 2016-03-28 | 2016-08-17 | 广东欧珀移动通信有限公司 | Log file processing method and device |
CN106296400A (en) * | 2016-08-10 | 2017-01-04 | 中国农业银行股份有限公司 | A kind of method and system of log recording |
CN107688536A (en) * | 2017-08-23 | 2018-02-13 | 上海与德科技有限公司 | A kind of method and device for obtaining terminal system daily record |
CN107729172A (en) * | 2017-10-31 | 2018-02-23 | 北京酷我科技有限公司 | A kind of method for generating adjustment step by step daily record |
-
2018
- 2018-11-01 CN CN201811295943.6A patent/CN109388622B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001318810A (en) * | 2000-05-11 | 2001-11-16 | Ricoh Co Ltd | Inter-process communication log system and device and recording medium with procedure of the same log recorded |
CN101183333A (en) * | 2007-12-12 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Method for outputting diary of debugging program, device and system |
US20110023019A1 (en) * | 2009-07-23 | 2011-01-27 | International Business Machines Corporation | Monitoring File Access of Java Processes |
CN102073489A (en) * | 2009-11-23 | 2011-05-25 | 新奥特(北京)视频技术有限公司 | Method and device for generating debug log |
CN105868092A (en) * | 2016-03-28 | 2016-08-17 | 广东欧珀移动通信有限公司 | Log file processing method and device |
CN106296400A (en) * | 2016-08-10 | 2017-01-04 | 中国农业银行股份有限公司 | A kind of method and system of log recording |
CN107688536A (en) * | 2017-08-23 | 2018-02-13 | 上海与德科技有限公司 | A kind of method and device for obtaining terminal system daily record |
CN107729172A (en) * | 2017-10-31 | 2018-02-23 | 北京酷我科技有限公司 | A kind of method for generating adjustment step by step daily record |
Non-Patent Citations (2)
Title |
---|
MEIYAPPAN NAGAPPAN;MLADEN A. VOUK: ""Abstracting log lines to log event types for mining software system logs"", 《2010 7TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES》 * |
翟峰: ""复杂环境下的软件调试技术研究与应用"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263004A (en) * | 2019-05-08 | 2019-09-20 | 北京字节跳动网络技术有限公司 | Log recording method, device, electronic equipment and storage medium |
CN110597722A (en) * | 2019-09-17 | 2019-12-20 | 深圳市及响科技有限公司 | Online debugging method for online development platform |
CN111813630A (en) * | 2020-07-14 | 2020-10-23 | 深圳市友杰智新科技有限公司 | Method and device for collecting log information and computer equipment |
CN111880849A (en) * | 2020-07-21 | 2020-11-03 | 深圳创维-Rgb电子有限公司 | Intelligent log control processing method and device for platform |
CN112732665A (en) * | 2021-01-04 | 2021-04-30 | 歌尔股份有限公司 | Log processing method, system and storage medium based on Linux platform |
CN115080355A (en) * | 2022-07-20 | 2022-09-20 | 北京未来智安科技有限公司 | Method and device for generating monitoring log |
CN115080355B (en) * | 2022-07-20 | 2022-11-29 | 北京未来智安科技有限公司 | Method and device for generating monitoring log |
Also Published As
Publication number | Publication date |
---|---|
CN109388622B (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109388622A (en) | A kind of log information processing method, device, equipment and readable storage medium storing program for executing | |
CN111045901B (en) | Container monitoring method and device, storage medium and electronic equipment | |
US20030033550A1 (en) | Uninterruptible power supply (UPS) devices monitoring system | |
CN110119290A (en) | The spare page switching method of application program, device, computer equipment and storage medium | |
CN105512562B (en) | Vulnerability mining method and device and electronic equipment | |
CN112100027A (en) | Server maintenance method, device, equipment and machine readable storage medium | |
US20240264914A1 (en) | Method and device for recovering self-test exception of server component, system and medium | |
CN111783081A (en) | Malicious process processing method, terminal device and storage medium | |
KR102137891B1 (en) | Server managing Method, Server, and Recording medium using User Specialized Operating Mechanism on BMC environment | |
CN109086077A (en) | A kind of operation method and device of application program | |
CN110134546B (en) | Batch restarting windows system method, electronic device and storage medium | |
CN112181702A (en) | Thread monitoring method and device | |
CN117033099A (en) | Pressure testing method, system and device for system hard disk and storage medium | |
CN116755628A (en) | Fault data storage method and device, nonvolatile storage medium and vehicle | |
CN109634796A (en) | A kind of method for diagnosing faults of computer, apparatus and system | |
CN114168212A (en) | Application processing method, device, equipment and computer readable storage medium | |
CN114003419A (en) | Method, system and device for realizing automatic testing of RAS (remote system operation) characteristics of memory based on OSES (open system operating system) | |
CN110736920A (en) | card testing method and system based on engineering management test script | |
JP2008158634A (en) | Information processing apparatus, software trace data recording method and software trace data recording program | |
CN113377451B (en) | Application restarting method, device, computer equipment and readable storage medium | |
CN110324150B (en) | Data storage method and device, computer readable storage medium and electronic equipment | |
CN113746680B (en) | Physical position determining method and device, and device testing method and device | |
CN113760110B (en) | Device, system and switching method for realizing KVM switch channel selection memory | |
CN108415790B (en) | Computer fault detection method and computer fault detection device | |
CN116414649A (en) | Log information storage method, log information sending method and log information sending 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |