CN110083582A - Method, apparatus, computer equipment and the storage medium of output journal - Google Patents

Method, apparatus, computer equipment and the storage medium of output journal Download PDF

Info

Publication number
CN110083582A
CN110083582A CN201910221592.2A CN201910221592A CN110083582A CN 110083582 A CN110083582 A CN 110083582A CN 201910221592 A CN201910221592 A CN 201910221592A CN 110083582 A CN110083582 A CN 110083582A
Authority
CN
China
Prior art keywords
log
several
default
backstage
platforms
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
CN201910221592.2A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910221592.2A priority Critical patent/CN110083582A/en
Publication of CN110083582A publication Critical patent/CN110083582A/en
Pending legal-status Critical Current

Links

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses the method, apparatus of output journal, computer equipment and storage mediums, wherein the method for output journal, comprising: the default log object that several platforms are made in control front end calls the identification marking for making the default log object of several tools from the background;The default log object for making several platforms by the front end according to the identification marking, calls the backstage to make the log approach in the default log object of several tools;The backstage is generated by the log approach and makes target journaling in the default log object of several tools, and is made several platforms in the front end according to preset rules and exported the target journaling.By making several tools from the background and front end makes and configures the Logger object of enhanced edition in several platforms, enhanced edition Logger object is set to support injection identification id, and enhanced edition Logger object is identified by identification id, so that front end makes several platforms or several tools are made by calling identification id to call enhanced edition Logger object in backstage, several platform real time print output correlation logs are made in front end.

Description

Method, apparatus, computer equipment and the storage medium of output journal
Technical field
This application involves field of computer technology is arrived, method, apparatus, the computer equipment of output journal are especially related to And storage medium.
Background technique
In software test procedure often in order to meet software test requirement or test database performance when, need past Many data are added inside one tables of data, data volume may be up to up to a million, this just needs artificially to participate in make data, then need Data are made to realize by making several tools and making several platforms, carry out making number by making several tools, and make by making several platform managements Data out.Existing be only supported at makes in several tools printing and output journal, and user can not obtain and look into real time making several platforms See log, it has not been convenient to user's operation.
Summary of the invention
The main purpose of the application is to provide the method for output journal, it is intended to which solution can not obtain in real time simultaneously making several platforms The technical issues of checking log.
A kind of method that the application proposes output journal, comprising:
The default log object that several platforms are made in control front end calls the identification mark for making the default log object of several tools from the background Know, wherein the default log object is the tool of print log, supports injection identification marking, the identification marking is for marking Know the default log object;
The default log object for making several platforms by the front end according to the identification marking, calls the backstage to make several works Log approach in the default log object of tool;
The backstage, which is generated, by the log approach makes target journaling in the default log object of several tools, and according to Preset rules make several platforms in the front end and export the target journaling.
Preferably, the default log object that several platforms are made in the control front end calls the default log pair for making several tools from the background Before the step of identification marking of elephant, comprising:
Several platforms are made in the front end respectively and configuration enhanced edition log4j log class on several tools is made on the backstage;
It obtains the backstage and makes the default log object that the enhanced edition log4j log class of several tools generates;
The set method of the default log object is called to be passed to the identification marking.
Preferably, described the backstage is generated by the log approach to make target in the default log object of several tools Log, and the step of several platforms export the target journaling is made in the front end according to preset rules, comprising:
It obtains the front end and makes the print log mode carried when the default log object calling log approach of several platforms, Described in print log mode and the important level of log to be printed match;
The target journaling is exported in the display window that several platforms are made in the front end according to the print log mode, wherein The target journaling carries the corresponding mark of the print log mode.
Preferably, described that the mesh is exported in the display window that several platforms are made in the front end according to the print log mode The step of marking log, comprising:
Judge that the front end makes the enhanced edition log4j log classes of several platforms and whether is called;
If so, the display window that several platforms are made in the triggering front end initiates ajax request;
Make the showlog interface of several tools from the background according to the ajax request call;
The target journaling is read by the showlog interface, and the target journaling is back to the front end and is made The display window of number platform carries out display output;
The target journaling is updated into journal file, wherein the journal file, which is stored in the backstage, makes several tools In the server of pre-association.
Preferably, described that the target journaling is read by the showlog interface, and the target journaling is back to The display window that several platforms are made in the front end carried out before the step of display output, comprising:
The page properties for the log printer page that the front end is made in the display window of several platforms are set, by nScrollTop It is equal that the corresponding value of attribute is set as value corresponding with scrollHeight attribute, to roll screen when making to print the target journaling The mode of curtain refreshes display in real time.
It is preferably, described that the target journaling is updated into the step into journal file, comprising:
Judge whether current time corresponding log comes from the corresponding jmeter file of jmeter script;
Document method is read if so, transferring and connecting to obtain described in the previous moment reading at the current time The end of identification of jmeter file;
Continue to read the jmeter file to obtain the current time corresponding log according to the end of identification;
The current time corresponding log is updated into the journal file.
Preferably, the journal file includes the first log of several tools printing being made from the backstage and before described The second log of several platform printings is made at end, and first log is from the corresponding same log class object of second log when different Inscribe into log, it is described judge current time corresponding log whether the step from the corresponding jmeter file of jmeter script After rapid, comprising:
If current time, corresponding log was not from the corresponding jmeter file of jmeter script, determine described in Current time corresponding log comes from the default log object;
Obtain that several tools are made on the backstage and the intersection that several platforms successively call the default log object is made in the front end Chronological order;
According to the cross events order respectively by first log and second log, intersects and print and update In the journal file.
Present invention also provides a kind of devices of output journal, comprising:
Control module makes the default log that the default log object of several platforms calls backstage to make several tools for controlling front end The identification marking of object, wherein the default log object is the tool of print log, supports injection identification marking, the knowledge It Biao Shi not be for identifying the default log object;
First calling module, for the default log object of several platforms to be made by the front end according to the identification marking, The backstage is called to make the log approach in the default log object of several tools;
Generation module makes mesh in the default log object of several tools for generating the backstage by the log approach Log is marked, and makes several platforms in the front end according to preset rules and exports the target journaling.
Present invention also provides a kind of computer equipment, including memory and processor, the memory is stored with calculating The step of machine program, the processor realizes the above method when executing the computer program.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer The step of above-mentioned method is realized when program is executed by processor.
The application is by will make from the background in several tools, the Logger object of the print log locally used originally, in front end Make several platforms and backstage make all configured in several tools enhanced edition Logger object come using, by change bottom code make to increase Version Logger object supports injection identification id by force, and identifies enhanced edition Logger object by identification id, so that front end is made number and put down Several tools are made by calling identification id to call enhanced edition Logger object in platform or backstage, to make the day of the Logger object generated The enhanced edition Logger object that will file can be made several platforms by front end is read, as long as the identification of two enhanced edition Logger objects ID be it is identical, can be realized it is real can only can also to make several platforms in front end in the log for making the printout of several tools from the background originally When print out, facilitate user to make several platforms in front end and check correlation log in time.Realization migrates into the jmeter for making several platforms The real-time of log reads and exports printing in jmeterlog when script makes the operation of several tools;By being made on several platforms in front end Log4j log class also does identical enhancing, as long as incoming identification id with the identification id for making several tools is, then front end The log for making several platform printings will be printed upon in log page together with the log that several tools return is made from the background;Realize history day The preservation of will and look facility;The timing clearing function for realizing log can customize setting cleaning frequency or time, can customize The log range of cleaning;In print log line by line, current log to be printed can be distinguished according to preset recognition rule Then important level calls corresponding print log mode;Realize that refreshing when log printing rolls screen output.
Detailed description of the invention
The method flow schematic diagram of the output journal of one embodiment of Fig. 1 the application;
The apparatus structure schematic diagram of the output journal of one embodiment of Fig. 2 the application;
The computer equipment schematic diagram of internal structure of one embodiment of Fig. 3 the application.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Referring to Fig.1, the method for the output journal of one embodiment of the application, comprising:
S1: the default log object that several platforms are made in control front end calls the identification for making the default log object of several tools from the background Mark supports injection identification marking, the identification marking is for marking wherein the default log object is the tool of print log Know the default log object.
The Logger object for making the print log that several tool Central Plains locally use from the background is become default day by the present embodiment Will object, above-mentioned default log object are enhanced edition Logger object, make enhanced edition Logger object by changing bottom code It supports that injection identification marking, above-mentioned identification marking are identification id, print log in several tools can only be made from the background by existing Logger object be substituted for enhanced edition Logger object come using.And by making several platforms in front end respectively and making several tools from the background Enhanced edition Logger object being configured, and enhanced edition Logger object is identified by identification id, being made with will pass through identification id in front end It is consistent with the log that several tool printings are made on backstage to make several platforms.
S2: the backstage is called to make number by the default log object that several platforms are made in the front end according to the identification marking Log approach in the default log object of tool.
The present embodiment identifies enhanced edition Logger object by identification id, so that front end makes several platforms or several tools are made on backstage By calling identification id to call enhanced edition Logger object, so that the enhanced edition Logger object for making several tools from the background be made to generate The log of Logger object, the enhanced edition Logger object that several platforms can be made by front end are read, and above-mentioned log is made by backstage Log approach in the enhanced edition Logger object of number tool generates, and above-mentioned log approach is the method for generating log.
S3: generating the backstage by the log approach and make target journaling in the default log object of several tools, and Several platforms, which are made, in the front end according to preset rules exports the target journaling.
As long as front end makes several platforms and makes the identification of two enhanced edition Logger objects of several tools from the background in the present embodiment ID be it is identical, identical log approach can be called, can be realized originally can only be in the day for making the printout of several tools from the background Will can also make several platform real time print outputs in front end, facilitate user to make several platforms in front end and check correlation log in time.
Further, the default log object that several platforms are made in the control front end calls the default log for making several tools from the background Before the step S1 of the identification marking of object, comprising:
S11: several platforms are made in the front end respectively and configuration enhanced edition log4j log class on several tools is made on the backstage.
The enhanced edition Logger object of the present embodiment makes several tools and enhancing in several platforms is made in front end by being deployed in respectively Log4j log class generates, and log4j log class is java log, and enhancing log4j log class has mainly done two enhancings: passing through Unique identification id is passed to construct the independent Logger object for carrying corresponding identification id every time;By being made with identification id Making each Logger object read the process of log for log file name is independent, the enhancing log4j log class quilt at which end It calls, then the log being currently generated just is printed out and shown at which end.The present embodiment in front end by making on several platforms Log4j log class also does identical enhancing, if front end make the identification id being passed in the enhanced edition Logger objects of several platforms and The identification id that several tools are made on backstage is the same, then the log that several platform printings are made in front end will be returned with several tools are made from the background Log be stored in same journal file.
S12: it obtains the backstage and makes the default log object that the enhanced edition log4j log class of several tools generates.
Make the enhanced edition Logger object that the enhanced edition log4j log class of several tools generates, front end in the backstage of the present embodiment The identification id that the enhanced edition log4j log class of several platforms can make the enhanced edition Logger object of several tools by obtaining backstage is made, It reads backstage and makes the enhanced edition Logger object that the enhanced edition log4j log class of several tools generates.
S13: the set method of the default log object is called to be passed to the identification marking.
When the enhanced edition Logger object that the present embodiment is generated by the enhanced edition log4j that several tools are made on backstage, calls and increase The set method of strong version Logger object is passed to corresponding identification id, then passes through when calling enhanced edition Logger object The get method of Logger object obtains unique Logger object with above-mentioned identification id, later can make number in front end The log approach that the Logger object in any one of both several tools using return is made on platform or backstage carrys out print log.On It states set method and get method is the functional based method that code bottom author language is formed, to realize the corresponding logic behaviour of different functions Make.For example, set method, that is, set function, the call format of set function are as follows: set (handle, attribute-name 1, attribute value 1, attribute-name 2, attribute value 2 ...).
Further, described the backstage is generated by the log approach to make mesh in the default log object of several tools Log is marked, and makes the step S3 that several platforms export the target journaling in the front end according to preset rules, comprising:
S31: it obtains the front end and makes the print log side carried when the default log object calling log approach of several platforms Formula, wherein the print log mode and the important level of log to be printed match.
The print log mode of the present embodiment include info (information, information alert), error, message or The important level of warning etc., the log that above-mentioned difference print log mode prints are different, different print log modes pair Different marks is answered, so as to the type and important level of user discrimination currently log to be printed.For example, info indicates general important Prompt class log, warning indicates important warning class log, and error indicates very important wrong class log etc.. The present embodiment can distinguish the important etc. of current log to be printed in print log line by line according to preset recognition rule Grade, then calls corresponding print log mode.
S32: exporting target journaling in the display window that several platforms are made in the front end according to the print log mode, wherein The target journaling carries the corresponding mark of the print log mode.
Different printing type distinctive points are in the present embodiment, carry the print log mode when exporting target journaling Corresponding mark is different, so that user carries out distinguishing each log according to different marks, is quickly found out what needs were paid close attention to and handled Log.
Further, described that target is exported in the display window that several platforms are made in the front end according to the print log mode The step S32 of log, comprising:
S321: judge that the front end makes the enhanced edition log4j log classes of several platforms and whether is called.
Whether the present embodiment can be triggered by monitoring the link of enhanced edition log4j log class, and quilt is determined if being triggered It calls.Several platforms are made in the front end of the present embodiment and backstage makes several tools and can call the enhanced edition for being deployed in and respectively holding respectively Log4j log class.
S322: if the enhanced edition log4j log class that several platforms are made in the front end is called, trigger it is described before The display window that several platforms are made at end initiates ajax request.
The present embodiment front end make it is corresponding in several platforms make on several pages, increase the js method that can pop up log, Js, that is, Javascript, Javascript are a kind of scripting languages developed by the LiveScript of Netscape.The js Method realize newly pop-up one windows window be used as display window, and access dedicated for displaying log the jsp page (i.e. The java server page), the jsp page can by initiate ajax request, go request backstage make the showlog interface of several tools with It makes several tools and makes corresponding target journaling during number in reading current time backstage.Ajax is " Asynchronous Javascript And XML " (asynchronous JavaScript and XML) refers to a kind of webpage development of creation interaction network page application Technology.
S323: the showlog interface of several tools is made from the background according to the ajax request call.
The backstage of the present embodiment makes several tools and increases a showlog interface newly, which, which realizes, reads life in real time At log, and the log of reading is returned into the jsp page that the display window of several platforms is made in front end.
S324: reading the target journaling by the showlog interface, and by the target journaling be back to it is described before The display window that several platforms are made at end carries out display output.
S325: the target journaling is updated into journal file, is made wherein the journal file is stored in the backstage In the server of number tool pre-association.
The enhanced edition log4j log class of the present embodiment is every to call primary, corresponding Logger object print log, and will work as Preceding moment, corresponding log was updated into journal file, wherein the journal file is stored in and makes several tools with the backstage and close in advance In the server of connection.By the way that log is written to the journal file in server and preservation simultaneously, with real-time update journal file, As long as not clearing up the journal file on server, so that it may check history log at any time.
Further, described that the target journaling is read by the showlog interface, and the target journaling is returned The display window for making several platforms to the front end carries out before the step S324 of display output, comprising:
S324a: being arranged the page properties for the log printer page that the front end is made in the display window of several platforms, will It is equal that the corresponding value of nScrollTop attribute is set as value corresponding with scrollHeight attribute, makes to print the target journaling When refresh display in real time in a manner of rolling screen.
The present embodiment by log printer page be provided with page properties, control nScrollTop attribute, ScrollHeight attribute, so that the value of nScrollTop attribute is all arranged whenever having in log printout to the jsp page Be it is equal with the value of scrollHeight attribute, it is enabled to be refreshed in real time when dynamically realizing log printing in a manner of rolling screen Output.Above-mentioned nScrollTop attribute expression is rolled to latest position, and scrollHeight attribute indicates the amplitude rolled every time.
It is further, described that the target journaling is updated into the step S325 into journal file, comprising:
S325a: judge whether current time corresponding log comes from the corresponding jmeter file of jmeter script.
When the front end of the present embodiment makes several platforms while the backstage for obtaining jmeter script being supported to make the operation of several tools The real-time reading and output printing of log in jmeterlog (i.e. jmeter log).Above-mentioned jmeter file is to execute jmeter The log that script generates makes the log that several tools generate, the backstage based on Java code different from the backstage based on Java code The log that making the log that several tools generate can call directly, and execute the generation of jmeter script is just capable of calling after must reading, and Reading the log that jmeter script generates cannot be read by Logger object, and should be transferred the corresponding connecting of jmeter script and be read Take method.The present embodiment is Java code or jmeter script, difference by distinguishing that the currently used of several tools is made on backstage Whether current time corresponding log is jmeter file, if it is jmeter script that the currently used of several tools is made on backstage, Log is jmeter file, is otherwise Logger object log.Jmeter is the pressure test tool based on Java.
S325b: it if current time corresponding log comes from the corresponding jmeter file of jmeter script, transfers connecting and reads Document method is taken to obtain the end of identification of the jmeter file of the previous moment at current time reading.
The corresponding read method of jmeter script of the present embodiment be connect read method, above-mentioned current time it is previous when It carves the span historical juncture of transferring connecting read method nearest from current time, the primary read method that connects of every calling then obtains Once currently newly-increased content can form corresponding end of identification in end position at the end of acquisition, when to read next time By identifying above-mentioned end of identification, the content from which position to newly increase determined.
S325c: continue to read the jmeter file according to the end of identification corresponding to obtain the current time Log.
For example previous moment has read 1 to 10 row log, then generates end of identification at the 10th line position place of setting, adjust again when previous When with connecting read method, then go to read a few row logs newly increased, such as the 5 row logs newly increased from the 10th row.
S325d: the current time corresponding log is updated into the journal file.
The present embodiment by the log progressive updating that will newly increase every time into journal file, to prevent being stored in journal file Log generate repetition.
Further, the journal file includes the first log of several tool printings being made from the backstage and from described The second log of several platform printings is made in front end, and first log same log class object corresponding with second log is in difference The log of moment write-in, it is described to judge current time corresponding log whether from the corresponding jmeter file of jmeter script After step S325a, comprising:
S3251: if the current time corresponding log is not from the corresponding jmeter file of jmeter script, sentence Determine the current time corresponding log and comes from the default log object.
The log made several tools and execution jmeter script can be supported to generate of the present embodiment, is also supported based on Java code Make the Logger object log that several tools generate in backstage.
S3252: obtain that several tools are made on the backstage and the front end makes several platforms and successively calls the default log object Cross events order.
As long as the present embodiment makes several platforms in front end and the incoming identification of Logger object used in several tools is made on backstage ID is the same, so that it may guarantee to print current log in log page, and the enhancing log4j log at which current end Class is called, then the log being currently generated just is printed out and shown at which end, and calls Logger pairs according to both above-mentioned The sequence of elephant carrys out print log, realizes log and exports without duplicate intersection.But no matter front end makes several platforms or makes number from the background The log of tool printing, can be stored in same journal file.
S3253: according to the cross events order respectively by first log and second log, intersect printing simultaneously It updates in the journal file.
Several platforms are made in the front end of the present embodiment and backstage makes several tools and is all based on java exploitation, and log approach is also base It is realized in java, and front end makes several platforms and backstage is made several tools and is associated by server, and by respectively in front end It makes several platforms and several tool deployment enhanced edition log4j log classes is made on backstage, it should to inject identification when generating Logger object The identification id of Logger object, so that front end makes several platforms and several tools are made by calling identification id to call Logger pairs in backstage As realizing that several platforms are made in front end and the printable output journal of several tools is made on backstage.The present embodiment is by making several platforms in front end On encapsulate log cleaning method, specific implementation step be: the journal file on reading service device under log storing directory Essential information filters out and is needing the journal file within the scope of clearance time;To the journal file screened, file is called Delete method carries out delete operation, and log method for cleaning needs to be passed to some parameters, such as the frequency of triggering clearance time, cleaning Rate, Yao Qingli log time range, such as log before 3 days requires to clear up, then is passed to 3days.
The present embodiment is by will make from the background in several tools, the Logger object of the print log locally used originally, preceding End make several platforms and backstage make all configured in several tools enhanced edition Logger object come using, by change bottom code make Enhanced edition Logger object supports injection identification id, and identifies enhanced edition Logger object by identification id, so that number is made in front end Several tools are made by calling identification id to call enhanced edition Logger object in platform or backstage, to make the Logger object generated The enhanced edition Logger object that journal file can be made several platforms by front end is read, as long as the knowledge of two enhanced edition Logger objects Other ID be it is identical, can be realized can only can also make several platforms in front end in the log for making the printout of several tools from the background originally Real time print output, facilitates user to make several platforms in front end and checks correlation log in time.Realization, which migrates into, makes several platforms The real-time of log reads and exports printing in jmeterlog when jmeter script makes the operation of several tools;It is flat by making number in front end Log4j log class on platform also does identical enhancing, as long as incoming identification id with the identification id for making several tools is, that The log that several platform printings are made in front end will be printed upon in log page together with the log that several tools return is made from the background;It realizes The preservation of history log and look facility;The timing clearing function for realizing log can customize setting cleaning frequency or time, can The log range of customized cleaning;In print log line by line, can be distinguished according to preset recognition rule current to be printed Then the important level of log calls corresponding print log mode;Realize that refreshing when log printing rolls screen output.
Referring to Fig. 2, the device of the output journal of one embodiment of the application, comprising:
Control module 1 makes the default day that the default log object of several platforms calls backstage to make several tools for controlling front end The identification marking of will object supports injection identification marking, the knowledge wherein the default log object is the tool of print log It Biao Shi not be for identifying the default log object.
The Logger object for making the print log that several tool Central Plains locally use from the background is become default day by the present embodiment Will object, above-mentioned default log object are enhanced edition Logger object, make enhanced edition Logger object by changing bottom code It supports injection identification id, the existing Logger object that can only make print log in several tools from the background is substituted for enhanced edition Logger Object come using.And enhanced edition Logger objects are configured by making several platforms in front end respectively and making several tools from the background, and pass through Identification id identifies enhanced edition Logger object, and will pass through, identification id makes to make several platforms in front end and several tool printings are made on backstage Log is consistent.
First calling module 2, for making the default log object of several platforms by the front end according to the identification marking The backstage is called to make the log approach in the default log object of several tools.
The present embodiment identifies enhanced edition Logger object by identification id, so that front end makes several platforms or several tools are made on backstage By calling identification id to call enhanced edition Logger object, so that the enhanced edition Logger object for making several tools from the background be made to generate The log of Logger object, the enhanced edition Logger object that several platforms can be made by front end are read, and above-mentioned log is made by backstage Log approach in the enhanced edition Logger object of number tool generates, and above-mentioned log approach is the method for generating log.
Generation module 3 is made in the default log object of several tools for generating the backstage by the log approach Target journaling, and make several platforms in the front end according to preset rules and export the target journaling
As long as front end makes several platforms and makes the identification of two enhanced edition Logger objects of several tools from the background in the present embodiment ID be it is identical, identical log approach can be called, can be realized originally can only be in the day for making the printout of several tools from the background Will can also make several platform real time print outputs in front end, facilitate user to make several platforms in front end and check correlation log in time.
Further, the device of the output journal, comprising:
Configuration module, for making several platforms in the front end respectively and the backstage makes and configures enhanced edition on several tools Log4j log class.
The enhanced edition Logger object of the present embodiment makes several tools and enhancing in several platforms is made in front end by being deployed in respectively Log4j log class generates, and enhancing log4j log class has mainly done two enhancings: being made every time by being passed to unique identification id Construct the independent Logger object for carrying corresponding identification id;It is each by making using identification id as log file name Logger object read log process be it is independent, the enhancing log4j log class at which end is called, then the log being currently generated Just prints out and show at any end.The present embodiment also does identical increasing by the log4j log class made on several platforms in front end By force, as long as it is one that front end, which makes the identification id being passed in the enhanced edition Logger object of several platforms and makes the identification id of several tools from the background, Sample, then the log that several platform printings are made in front end will be stored with same log with the log that several tools return is made from the background In file.
Module is obtained, makes the default day that the enhanced edition log4j log class of several tools generates for obtaining the backstage Will object.
Make the enhanced edition Logger object that the enhanced edition log4j log class of several tools generates, front end in the backstage of the present embodiment The identification id that the enhanced edition log4j log class of several platforms can make the enhanced edition Logger object of several tools by obtaining backstage is made, It reads backstage and makes the enhanced edition Logger object that the enhanced edition log4j log class of several tools generates.
Second calling module, for calling the set method of the default log object to be passed to the identification marking.
When the enhanced edition Logger object that the present embodiment is generated by the enhanced edition log4j that several tools are made on backstage, calls and increase The set method of strong version Logger object is passed to corresponding identification id, then passes through when calling enhanced edition Logger object The get method of Logger object obtains unique Logger object with above-mentioned identification id, later can make number in front end The log approach that the Logger object in any one of both several tools using return is made on platform or backstage carrys out print log.
Further, the generation module 3, comprising:
Acquisition submodule is made when the default log objects of several platforms calls log approach for obtaining the front end and is carried Print log mode, wherein the print log mode and the important level of log to be printed match.
The print log mode of the present embodiment includes info, error, message or warning etc., above-mentioned different printings The important level for the log that log mode prints is different, and different print log modes correspond to different marks, so as to user Recognize the type and important level of current log to be printed.For example, info indicates general important prompt class log, warning Indicate important warning class log, error indicates very important wrong class log etc..The present embodiment is printing day line by line When will, the important level of current log to be printed can be distinguished according to preset recognition rule, then calls corresponding printing Log mode.
Output sub-module, for exporting mesh in the display window that several platforms are made in the front end according to the print log mode Log is marked, wherein the target journaling carries the corresponding mark of the print log mode.
Different printing type distinctive points are in the present embodiment, carry the print log mode when exporting target journaling Corresponding mark is different, so that user carries out distinguishing each log according to different marks, is quickly found out what needs were paid close attention to and handled Log.
Further, the output sub-module, comprising:
Whether judging unit is called for judging that the enhanced edition log4j log classes of several platforms is made in the front end.
Whether the present embodiment can be triggered by monitoring the link of enhanced edition log4j log class, and quilt is determined if being triggered It calls.Several platforms are made in the front end of the present embodiment and backstage makes several tools and can call the enhanced edition for being deployed in and respectively holding respectively Log4j log class.
Trigger unit triggers institute if the enhanced edition log4j log class for several platforms to be made in the front end is called State the display window initiation ajax request that several platforms are made in the front end.
The present embodiment front end make it is corresponding in several platforms make on several pages, increase the js method that can pop up log, The js method realizes that newly one windows window of pop-up is as display window, and accesses jsp pages dedicated for showing log Face, the jsp page can go to request backstage to make the showlog interface of several tools to read current time by initiating ajax request It makes several tools and makes corresponding target journaling during number in backstage.
Call unit, for making the showlog interface of several tools from the background according to the ajax request call.
The backstage of the present embodiment makes several tools and increases a showlog interface newly, which, which realizes, reads life in real time At log, and the log of reading is returned into the jsp page that the display window of several platforms is made in front end.
Reading unit for reading the target journaling by the showlog interface, and the target journaling is returned The display window for making several platforms to the front end carries out display output.
Updating unit, for updating the target journaling into journal file, wherein the journal file is stored in institute Backstage is stated to make in the server of several tool pre-associations.
The enhanced edition log4j log class of the present embodiment is every to call primary, corresponding Logger object print log, and will work as Preceding moment, corresponding log was updated into journal file, wherein the journal file is stored in and makes several tools with the backstage and close in advance In the server of connection.By the way that log is written to the journal file in server and preservation simultaneously, with real-time update journal file, As long as not clearing up the journal file on server, so that it may check history log at any time.
Further, the output sub-module, comprising:
Setting unit makes the page category of the log printer page in the display window of several platforms for the front end to be arranged It is equal to set value corresponding with scrollHeight attribute for the corresponding value of nScrollTop attribute, makes to print the mesh for property Refresh display in real time in a manner of rolling screen when marking log.
The present embodiment by log printer page be provided with page properties, control nScrollTop attribute, ScrollHeight attribute, so that the value of nScrollTop attribute is all arranged whenever having in log printout to the jsp page Be it is equal with the value of scrollHeight attribute, it is enabled to be refreshed in real time when dynamically realizing log printing in a manner of rolling screen Output.Above-mentioned nScrollTop attribute expression is rolled to latest position, and scrollHeight attribute indicates the amplitude rolled every time.
Further, updating unit, comprising:
Judgment sub-unit, for judging whether current time corresponding log comes from the corresponding jmeter text of jmeter script Part.
When the front end of the present embodiment makes several platforms while the backstage for obtaining jmeter script being supported to make the operation of several tools The real-time reading and output printing of log in jmeterlog.Above-mentioned jmeter file is the log for executing jmeter script and generating, The log that several tools generate is made different from the backstage based on Java code, the day that several tools generate is made on the backstage based on Java code Will can call directly, and the log for executing the generation of jmeter script is just capable of calling after must reading, and it is raw to read jmeter script At log cannot be read by Logger object, and the corresponding connecting read method of jmeter script should be transferred.The present embodiment It is Java code or jmeter script, corresponding day at difference current time by distinguishing that the currently used of several tools is made on backstage Whether will is jmeter file, if it is jmeter script that the currently used of several tools is made on backstage, log is jmeter file, It otherwise is the log of Logger object.
Subelement is transferred, if coming from the corresponding jmeter file of jmeter script for current time corresponding log, It transfers to connect and reads document method to obtain the end mark for the jmeter file that the previous moment at the current time is read Know.
The corresponding read method of jmeter script of the present embodiment be connect read method, above-mentioned current time it is previous when It carves the span historical juncture of transferring connecting read method nearest from current time, the primary read method that connects of every calling then obtains Once currently newly-increased content can form corresponding end of identification in end position at the end of acquisition, when to read next time By identifying above-mentioned end of identification, the content from which position to newly increase determined.
Reading subunit, when for continuing to read the jmeter file to obtain described current according to the end of identification Carve corresponding log.
For example previous moment has read 1 to 10 row log, then generates end of identification at the 10th line position place of setting, adjust again when previous When with connecting read method, then go to read a few row logs newly increased, such as the 5 row logs newly increased from the 10th row.
Subelement is updated, for updating the current time corresponding log into the journal file.
The present embodiment by the log progressive updating that will newly increase every time into journal file, to prevent being stored in journal file Log generate repetition.
Further, the journal file includes the first log of several tool printings being made from the backstage and from described The second log of several platform printings is made in front end, and first log same log class object corresponding with second log is in difference The log of moment write-in, the updating unit, comprising:
Subelement is determined, if being not from the corresponding jmeter of jmeter script for the current time corresponding log File then determines the current time corresponding log from the default log object.
The log made several tools and execution jmeter script can be supported to generate of the present embodiment, is also supported based on Java code Make the Logger object log that several tools generate in backstage.
Subelement is obtained, several tools are made on the backstage and the front end makes several platforms and successively calls described preset for obtaining The cross events order of log object.
As long as the present embodiment makes several platforms in front end and the incoming identification of Logger object used in several tools is made on backstage ID is the same, so that it may guarantee to print current log in log page, and the enhancing log4j log at which current end Class is called, then the log being currently generated just is printed out and shown at which end, and calls Logger pairs according to both above-mentioned The sequence of elephant carrys out print log, realizes log and exports without duplicate intersection.But no matter front end makes several platforms or makes number from the background The log of tool printing, can be stored in same journal file.
Print subelement, for according to the cross events order respectively by first log and second log, Intersect and prints and update in the journal file.
Several platforms are made in the front end of the present embodiment and backstage makes several tools and is all based on java exploitation, and log approach is also base It is realized in java, and front end makes several platforms and backstage is made several tools and is associated by server, and by respectively in front end It makes several platforms and several tool deployment enhanced edition log4j log classes is made on backstage, it should to inject identification when generating Logger object The identification id of Logger object, so that front end makes several platforms and several tools are made by calling identification id to call Logger pairs in backstage As realizing that several platforms are made in front end and the printable output journal of several tools is made on backstage.The present embodiment is by making several platforms in front end On encapsulate log cleaning method, specific implementation step be: the journal file on reading service device under log storing directory Essential information filters out and is needing the journal file within the scope of clearance time;To the journal file screened, call file's Delete method carries out delete operation, and log method for cleaning needs to be passed to some parameters, such as the frequency of triggering clearance time, cleaning Rate, Yao Qingli log time range, such as log before 3 days requires to clear up, then is passed to 3days.
Referring to Fig. 3, a kind of computer equipment is also provided in the embodiment of the present application, which can be server, Its internal structure can be as shown in Figure 3.The computer equipment includes processor, the memory, network connected by system bus Interface and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program And database.The internal memory provides environment for the operation of operating system and computer program in non-volatile memory medium.It should The database of computer equipment is used to store all data that the process of output journal needs.The network interface of the computer equipment For being communicated with external end by network connection.The side of output journal is realized when the computer program is executed by processor Method.
The method that above-mentioned processor executes above-mentioned output journal, comprising: make the default log object of several platforms in control front end Backstage is called to make the identification marking of the default log object of several tools, wherein the default log object is the work of print log Tool supports injection identification marking, and the identification marking is for identifying the default log object;Passed through according to the identification marking The default log object of several platforms is made in the front end, and the backstage is called to make the log side in the default log object of several tools Method;The backstage is generated by the log approach and makes target journaling in the default log object of several tools, and according to default Rule makes several platforms in the front end and exports the target journaling.
Above-mentioned computer equipment, by will make from the background in several tools, Logger pairs of the print log locally used originally As, front end make several platforms and backstage make all configured in several tools enhanced edition Logger object come using, pass through change bottom Layer identification code makes enhanced edition Logger object support injection identification id, and identifies enhanced edition Logger object by identification id, so that Several platforms are made in front end or several tools are made by calling identification id to call enhanced edition Logger object in backstage, to make generation The enhanced edition Logger object that the journal file of Logger object can be made several platforms by front end is read, as long as two enhanced editions The identification id of Logger object be it is identical, can be realized originally can only be in the log for making the printout of several tools from the background, can also Several platform real time print outputs are made in front end, facilitates user to make several platforms in front end and checks correlation log in time.
In one embodiment, the default log object that several platforms are made in above-mentioned processor control front end calls backstage to make several works Before the step of identification marking of the default log object of tool, comprising: make several platforms in the front end respectively and the backstage is made Enhanced edition log4j log class is configured on number tool;It obtains the backstage and makes the institute that the enhanced edition log4j log class of several tools generates State default log object;The set method of the default log object is called to be passed to the identification marking.
In one embodiment, above-mentioned processor generates the default day that several tools are made on the backstage by the log approach Target journaling in will object, and the step of several platforms export the target journaling, packet are made in the front end according to preset rules It includes: obtaining the front end and make the print log mode carried when the default log object calling log approach of several platforms, wherein institute It states print log mode and the important level of log to be printed matches;Number is made in the front end according to the print log mode The display window of platform exports the target journaling, wherein the target journaling carries the corresponding mark of the print log mode Know.
In one embodiment, above-mentioned processor makes the display of several platforms in the front end according to the print log mode Window export the target journaling the step of, comprising: judge the front end make several platforms enhanced edition log4j log class whether by It calls;If so, the display window that several platforms are made in the triggering front end initiates ajax request;It requests to adjust according to the ajax The showlog interface of several tools is made with the backstage;The target journaling is read by the showlog interface, and will be described Target journaling, which is back to the front end, to be made the display windows of several platforms and carries out display output;The target journaling is updated to log In file, made in the server of several tool pre-associations wherein the journal file is stored in the backstage.
In one embodiment, above-mentioned processor reads the target journaling by the showlog interface, and will be described Target journaling be back to the front end make several platforms display window carry out display output the step of before, comprising: described in setting The page properties of the log printer page in the display window of several platforms are made in front end, and the corresponding value of nScrollTop attribute is arranged It is equal for value corresponding with scrollHeight attribute, refreshed in real time in a manner of rolling screen when making to print the target journaling Display.
In one embodiment, the target journaling is updated the step into journal file by above-mentioned processor, comprising: is sentenced Whether disconnected current time corresponding log comes from the corresponding jmeter file of jmeter script;If so, transferring connecting reads text Part method with obtain the current time previous moment read the jmeter file end of identification;According to the end Mark continues to read the jmeter file to obtain the current time corresponding log;By corresponding day at the current time Will is updated into the journal file.
In one embodiment, the journal file includes making the first log of several tool printings from the backstage and coming The second log of several platform printings, first log same log class object corresponding with second log are made from the front end It is above-mentioned to judge whether current time corresponding log comes from the corresponding jmeter of jmeter script in the log of different moments write-in After the step of file, comprising: if the current time corresponding log is not from the corresponding jmeter text of jmeter script Part then determines the current time corresponding log from the default log object;It obtains the backstage and makes several tools and institute It states front end and makes the cross events order that several platforms successively call the default log object;Distinguished according to the cross events order By first log and second log, intersects and print and update in the journal file.
It will be understood by those skilled in the art that structure shown in Fig. 3, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates The method of output journal is realized when machine program is executed by processor, comprising: make the default log object tune of several platforms in control front end With the identification marking for the default log object for making several tools from the background, wherein the default log object is the tool of print log, Support injection identification marking, the identification marking is for identifying the default log object;Pass through institute according to the identification marking The default log object that several platforms are made in front end is stated, the backstage is called to make the log approach in the default log object of several tools; The backstage is generated by the log approach and makes target journaling in the default log object of several tools, and according to preset rules Several platforms, which are made, in the front end exports the target journaling.
Above-mentioned computer readable storage medium, by will make from the background in several tools, the print log that locally uses originally Logger object is made several platforms in front end and is come with the Logger object for all configuring enhanced edition in several tools is made from the background using logical Crossing change bottom code makes enhanced edition Logger object support injection identification id, and identifies Logger pairs of enhanced edition by identification id As so that front end makes several platforms or several tools are made by calling identification id to call enhanced edition Logger object, to make to give birth in backstage At the journal file of Logger object can be made the enhanced edition Logger objects of several platforms by front end and read, as long as two enhancings The identification id of version Logger object be it is identical, can be realized originally can only in the log for making the printout of several tools from the background, Several platform real time print outputs can be made in front end, facilitate user to make several platforms in front end and check correlation log in time.
In one embodiment, the default log object that several platforms are made in above-mentioned processor control front end calls backstage to make several works Before the step of identification marking of the default log object of tool, comprising: make several platforms in the front end respectively and the backstage is made Enhanced edition log4j log class is configured on number tool;It obtains the backstage and makes the institute that the enhanced edition log4j log class of several tools generates State default log object;The set method of the default log object is called to be passed to the identification marking.
In one embodiment, above-mentioned processor generates the default day that several tools are made on the backstage by the log approach Target journaling in will object, and the step of several platforms export the target journaling, packet are made in the front end according to preset rules It includes: obtaining the front end and make the print log mode carried when the default log object calling log approach of several platforms, wherein institute It states print log mode and the important level of log to be printed matches;Number is made in the front end according to the print log mode The display window of platform exports the target journaling, wherein the target journaling carries the corresponding mark of the print log mode Know.
In one embodiment, above-mentioned processor makes the display of several platforms in the front end according to the print log mode Window export the target journaling the step of, comprising: judge the front end make several platforms enhanced edition log4j log class whether by It calls;If so, the display window that several platforms are made in the triggering front end initiates ajax request;It requests to adjust according to the ajax The showlog interface of several tools is made with the backstage;The target journaling is read by the showlog interface, and will be described Target journaling, which is back to the front end, to be made the display windows of several platforms and carries out display output;The target journaling is updated to log In file, made in the server of several tool pre-associations wherein the journal file is stored in the backstage.
In one embodiment, above-mentioned processor reads the target journaling by the showlog interface, and will be described Target journaling be back to the front end make several platforms display window carry out display output the step of before, comprising: described in setting The page properties of the log printer page in the display window of several platforms are made in front end, and the corresponding value of nScrollTop attribute is arranged It is equal for value corresponding with scrollHeight attribute, refreshed in real time in a manner of rolling screen when making to print the target journaling Display.
In one embodiment, the target journaling is updated the step into journal file by above-mentioned processor, comprising: is sentenced Whether disconnected current time corresponding log comes from the corresponding jmeter file of jmeter script;If so, transferring connecting reads text Part method with obtain the current time previous moment read the jmeter file end of identification;According to the end Mark continues to read the jmeter file to obtain the current time corresponding log;By corresponding day at the current time Will is updated into the journal file.
In one embodiment, the journal file includes making the first log of several tool printings from the backstage and coming The second log of several platform printings, first log same log class object corresponding with second log are made from the front end It is above-mentioned to judge whether current time corresponding log comes from the corresponding jmeter of jmeter script in the log of different moments write-in After the step of file, comprising: if the current time corresponding log is not from the corresponding jmeter text of jmeter script Part then determines the current time corresponding log from the default log object;It obtains the backstage and makes several tools and institute It states front end and makes the cross events order that several platforms successively call the default log object;Distinguished according to the cross events order By first log and second log, intersects and print and update in the journal file.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, above-mentioned computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, Any reference used in provided herein and embodiment to memory, storage, database or other media, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of method of output journal characterized by comprising
The default log object that several platforms are made in control front end calls the identification marking for making the default log object of several tools from the background, In, the default log object is the tool of print log, supports injection identification marking, the identification marking described for identifying Default log object;
The default log object for making several platforms by the front end according to the identification marking, calls the backstage to make several tools Log approach in default log object;
The backstage is generated by the log approach and makes target journaling in the default log object of several tools, and according to default Rule makes several platforms in the front end and exports the target journaling.
2. the method for output journal according to claim 1, which is characterized in that make the default of several platforms in the control front end Before the step of identification marking for the default log object that log object calls backstage to make several tools, comprising:
Several platforms are made in the front end respectively and configuration enhanced edition log4j log class on several tools is made on the backstage;
It obtains the backstage and makes the default log object that the enhanced edition log4j log class of several tools generates;
The set method of the default log object is called to be passed to the identification marking.
3. the method for output journal according to claim 2, which is characterized in that described to generate institute by the log approach The target journaling made in the default log object of several tools from the background is stated, and makes several platforms in the front end according to preset rules and exports The step of target journaling, comprising:
It obtains the front end and makes the print log mode carried when the default log object calling log approach of several platforms, wherein institute It states print log mode and the important level of log to be printed matches;
The target journaling is exported in the display window that several platforms are made in the front end according to the print log mode, wherein described Target journaling carries the corresponding mark of the print log mode.
4. the method for output journal according to claim 3, which is characterized in that described to be existed according to the print log mode The step of display window that several platforms are made in the front end exports the target journaling, comprising:
Judge that the front end makes the enhanced edition log4j log classes of several platforms and whether is called;
If so, triggering the display window initiation ajax request that several platforms are made in the front end;
Make the showlog interface of several tools from the background according to the ajax request call;
The target journaling is read by the showlog interface, and the target journaling is back to the front end and makes several put down The display window of platform carries out display output;
The target journaling is updated into journal file, several tools is made wherein the journal file is stored in the backstage and closes in advance In the server of connection.
5. the method for output journal according to claim 4, which is characterized in that described to be read by the showlog interface It takes the target journaling, and the target journaling is back to the front end makes the display windows of several platforms and carry out display output Before step, comprising:
The page properties for the log printer page that the front end is made in the display window of several platforms are set, by nScrollTop attribute It is equal that corresponding value is set as value corresponding with scrollHeight attribute, to roll screen when making to print the target journaling Mode refreshes display in real time.
6. the method for output journal according to claim 4, which is characterized in that described to update the target journaling to day Step in will file, comprising:
Judge whether current time corresponding log comes from the corresponding jmeter file of jmeter script;
Document method is read if so, transferring and connecting to obtain the jmeter text that the previous moment at the current time is read The end of identification of part;
Continue to read the jmeter file to obtain the current time corresponding log according to the end of identification;
The current time corresponding log is updated into the journal file.
7. the method for output journal according to claim 6, which is characterized in that the journal file includes after described Platform makes the first log of several tool printings and makes the second log of several platform printings, first log and institute from the front end It states the second log and corresponds to the log that same log class object is written in different moments, judgement current time, corresponding log was After the step of no jmeter file corresponding from jmeter script, comprising:
If current time, corresponding log was not from the corresponding jmeter file of jmeter script, determine described current Moment corresponding log comes from the default log object;
Obtain that several tools are made on the backstage and the cross events that several platforms successively call the default log object are made in the front end Order;
According to the cross events order respectively by first log and second log, intersects and print and update described In journal file.
8. a kind of device of output journal characterized by comprising
Control module makes the default log object that the default log object of several platforms calls backstage to make several tools for controlling front end Identification marking, wherein the default log object is the tool of print log, supports injection identification marking, and the identification is marked Know for identifying the default log object;
First calling module is called for making the default log object of several platforms by the front end according to the identification marking Make the log approach in the default log object of several tools in the backstage;
Generation module makes target day in the default log object of several tools for generating the backstage by the log approach Will, and make several platforms in the front end according to preset rules and export the target journaling.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910221592.2A 2019-03-22 2019-03-22 Method, apparatus, computer equipment and the storage medium of output journal Pending CN110083582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910221592.2A CN110083582A (en) 2019-03-22 2019-03-22 Method, apparatus, computer equipment and the storage medium of output journal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910221592.2A CN110083582A (en) 2019-03-22 2019-03-22 Method, apparatus, computer equipment and the storage medium of output journal

Publications (1)

Publication Number Publication Date
CN110083582A true CN110083582A (en) 2019-08-02

Family

ID=67413446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910221592.2A Pending CN110083582A (en) 2019-03-22 2019-03-22 Method, apparatus, computer equipment and the storage medium of output journal

Country Status (1)

Country Link
CN (1) CN110083582A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634031A (en) * 2019-09-24 2019-12-31 腾讯科技(深圳)有限公司 Method, device, equipment and medium for tracking and analyzing published content
CN111400128A (en) * 2020-03-04 2020-07-10 平安科技(深圳)有限公司 Log management method and device, computer equipment and storage medium
CN113434473A (en) * 2021-06-28 2021-09-24 上海浦东发展银行股份有限公司 Distributed log processing method, device, medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017130111A (en) * 2016-01-21 2017-07-27 株式会社東芝 Dataflow log generation device, relational database, dataflow log generation method, program, and monitoring system
CN108255905A (en) * 2017-05-04 2018-07-06 平安科技(深圳)有限公司 Interface calls data processing method, device and computer equipment
US20180293258A1 (en) * 2017-04-07 2018-10-11 Salesforce.Com, Inc. Complex log entry type schemas

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017130111A (en) * 2016-01-21 2017-07-27 株式会社東芝 Dataflow log generation device, relational database, dataflow log generation method, program, and monitoring system
US20180293258A1 (en) * 2017-04-07 2018-10-11 Salesforce.Com, Inc. Complex log entry type schemas
CN108255905A (en) * 2017-05-04 2018-07-06 平安科技(深圳)有限公司 Interface calls data processing method, device and computer equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634031A (en) * 2019-09-24 2019-12-31 腾讯科技(深圳)有限公司 Method, device, equipment and medium for tracking and analyzing published content
CN111400128A (en) * 2020-03-04 2020-07-10 平安科技(深圳)有限公司 Log management method and device, computer equipment and storage medium
CN113434473A (en) * 2021-06-28 2021-09-24 上海浦东发展银行股份有限公司 Distributed log processing method, device, medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110083582A (en) Method, apparatus, computer equipment and the storage medium of output journal
CN109697150A (en) Show method, apparatus, computer equipment and the storage medium of test report
CN109582563B (en) Test method, device, computer equipment and storage medium for test cases
CN109344642A (en) Interface rules method of calibration, device, computer equipment and storage medium
CN106502883B (en) The database synchronization method and system of client and server-side when automatic test
CN108683666A (en) A kind of web page identification method and device
CN107832206A (en) Method of testing, device, computer-readable recording medium and computer equipment
CN104899269A (en) Method and device for accessing website link
CN108847998B (en) Report monitoring method and device, computer equipment and storage medium
CN107622008B (en) Traversal method and device for application page
CN109799980A (en) Method, apparatus and computer equipment based on the more programming language interconnection of data processing
CN107423070A (en) A kind of page generation method and device
CN113282498B (en) Method, device, equipment and storage medium for generating test cases
CN109783365A (en) Automated testing method, device, computer equipment and storage medium
CN108595697A (en) Webpage integrated approach, apparatus and system
CN110704861A (en) Method, device and system for real-time desensitization based on open interface
CN110135140A (en) Information protecting method, device, computer equipment and storage medium
CN109801095A (en) Method, apparatus and computer equipment based on the track cloud monitoring, tracing H5 to APP
CN110515514A (en) A kind of data processing method, device and storage medium
JP4890051B2 (en) Browser screen display device and program therefor
CN103678332B (en) Method for the system of displayed page, browser and its displayed page
CN112925515B (en) Editing control method, device, equipment and storage medium
CN111552648A (en) Automatic verification method and system for application
CN110442703A (en) Information recommendation method, device and the computer equipment of knowledge based map
US20220345917A1 (en) Device management program and device management method

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240528

AD01 Patent right deemed abandoned