CN104219080A - Method for recording logs of error pages of websites - Google Patents

Method for recording logs of error pages of websites Download PDF

Info

Publication number
CN104219080A
CN104219080A CN201310220486.5A CN201310220486A CN104219080A CN 104219080 A CN104219080 A CN 104219080A CN 201310220486 A CN201310220486 A CN 201310220486A CN 104219080 A CN104219080 A CN 104219080A
Authority
CN
China
Prior art keywords
described
website
log recording
error
daily record
Prior art date
Application number
CN201310220486.5A
Other languages
Chinese (zh)
Other versions
CN104219080B (en
Inventor
李彦君
Original Assignee
北京齐尔布莱特科技有限公司
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 北京齐尔布莱特科技有限公司 filed Critical 北京齐尔布莱特科技有限公司
Priority to CN201310220486.5A priority Critical patent/CN104219080B/en
Publication of CN104219080A publication Critical patent/CN104219080A/en
Application granted granted Critical
Publication of CN104219080B publication Critical patent/CN104219080B/en

Links

Abstract

The invention relates to the technical field of web pages, and particularly discloses a method for recording logs of error pages of websites. The method includes enabling the websites to automatically jump to pages of software for recording the logs of the error pages of the websites when error exception occurs on the websites of clients, starting to count data of short-term exception visit, judging whether the exception visit exceeds threshold values or not and handling the short-term exception visit; completely recording error exception in application programs of windows event viewers and service logs of the windows event viewers if the exception visit is within the range of the threshold values; sampling the error exception and recording samples of the error exception in the application programs of the windows event viewers and the service logs of the windows event viewers if the exception visit exceeds the threshold values; feeding records in the service logs to the corresponding websites, and enabling the websites to search and analyze corresponding problems in the service logs; feeding dynamic error pages or static friendly error pages to the clients. The method has the advantages that exception of the various websites can be conveniently optimized, the error pages can be reduced, and the method can effectively assist operation and maintenance engineers in troubleshooting and event warning.

Description

A kind of website faulty page log recording method

Technical field

The present invention relates to web technologies field, especially relate to a kind of website faulty page log recording method.

Background technology

When user attempts to move by one of HTTP or file transfer protocol (FTP) (FTP) access the content on the server of Internet information service (IIS), IIS returns to a digital code that represents the state of this request.This state code is recorded in IIS daily record, also may show at Web browser or ftp client simultaneously.Whether state code can indicate concrete request successful, can also indicate the reason that request is failed.

By default, IIS its journal file be placed on WINDIR System32 in Logfiles file.Each World Wide Web (WWW) (WWW) website and FTP website have an independent catalogue under this catalogue.By default, all can create journal file every day under these catalogues, and with the date for example, to journal file name (, ex YYMMDD.log).

HTTP:

1xx-information indicating, these state codes represent interim response.Client, before receiving normal response, should prepare to receive one or more 1xx responses.100-continues.101-handoff protocol.2xx-success.This class state code shows that server successfully accepted client-requested.

200-determines.Client-requested is successful.201-creates.202-accepts.203-inauthoritativeness information.204-is without content.205-replacement content.206-partial content.

3xx-is redirected: client browser must take more multioperation to realize request.For example, the browser different page on request server of may having to, or repeat this request by proxy server.301-object is forever removed, and is forever redirected.302-object moves temporarily.304-is unmodified.307-is redirected temporarily.

4xx-client error, makes a mistake, and client has seemed problem.For example, the non-existent page of client-requested, client does not provide effective authentication information.The request of 400-mistake.401-access denied.IIS has defined many 401 different mistakes, and they indicate more specifically error reason.These concrete error codes show, but in IIS daily record, do not show in browser: 401.1-login failure.The configuration of 401.2-server causes login failure.401.3-is because ACL does not obtain the authorization to the restriction of resource.401.4-screening washer authorization failure.401.5-ISAPI/CGI application program authorization failure.401.7-access is refused by the URL delegated strategy on Web server.Special use that this error code is IIS6.0.403-disable access: IIS has defined many 403 different mistakes, and they indicate more specifically error reason: 403.1-execution access and are prohibited.403.2-read access is prohibited.403.3-write access is prohibited.403.4-requires SSL.403.5-requires SSL128.403.6-IP address is rejected.403.7-requires client certificate.403.8-site access is rejected.403.9-number of users is too much.403.10-invalid configuration.403.11-change of secret code.403.12-denied access mapping table.403.13-client certificate is revoked.403.14-refuses directory listing.403.15-exceeds CAL.403.16-client certificate is not trusted or is invalid.403.17-client certificate is out of date or not yet come into force.403.18-can not carry out asked URL in current application pool.Special use that this error code is IIS6.0.403.19-can not be the client executing CGI in this application pool.Special use that this error code is IIS6.0.403.20-Passport login failure.Special use that this error code is IIS6.0.404-does not find.404.0-(nothing)-do not find file or catalogue.404.1-cannot access Web website on asked port.404.2-Web service extension locking strategy stops this request.404.3-MIME mapping policy stops this request.405-is not allowed to (method is not allowed to) with the HTTP predicate that visits this page.406-client browser is not accepted the mime type of requested page.407-requires to carry out Proxy Authentication.The failure of 412-precondition.413-request entity is too large.URI is oversize in 414-request.The medium type that 415-does not support.The scope that 416-asks cannot meet.417-carries out unsuccessfully.The mistake of 423-locking.

5xx-server error, server can not complete this request owing to running into mistake.500-internal server error.500.12-application program is just being busy with restarting on Web server.500.13-Web server is too busy.500.15-does not allow directly to ask Global.asa.500.16-UNC authorize authority incorrect.Special use that this error code is IIS6.0.500.18-URL authorizing storage can not open.Special use that this error code is IIS6.0.500.100-inner ASP mistake.501-header value has been specified unconsummated configuration.When being used as gateway or proxy server, received 502-Web server null response.502.1-CGI application program is overtime.502.2-CGI application program is made mistakes.application。503-service is unavailable.Special use that this error code is IIS6.0.504-gateway is overtime.505-HTTP version is not supported.

FTP:

The preliminary answer that 1xx-is sure, an operation of these state code indications successfully starts, but client wishes to obtain another answer before continuing operation newer command.110 restart mark answers.120 services are ready, after n minute, start.125 no transfer in progress, are starting transmission.150 file status are normal, prepare to open data and connect.

2xx-is sure completes answer, and an operation is successfully completed.Client can be carried out newer command.200 orders are determined.202 fill orders not, the order on website is too much.211 system modes, or system help is answered.212 directory states.213 file status.214 help message.215NAME system type, wherein, NAME is formal systematic name listed in Assigned Numbers document.220 services are ready, can carry out new user's request.221 service closing control connect.If suitably, please nullify.225 data connect to be opened, and there is no ongoing transmission.226 close data connects.The file operation of request is (for example, transfer files or abandon file) successfully.227 enter Passive Mode (h1, h2, h3, h4, p1, p2).230 users login, proceed.The file operation of 250 requests is correct, completes.257 have created " PATHNAME ".

The middle answer that 3xx-is sure, this order is successful, but server needs more information from client to complete the processing to request.331 username goods, need password.332 need login account.The file operations of 350 requests are just in the information of products for further.

4xx-transient state is negated completes answer, and this order is unsuccessful, but mistake is temporary transient.If the order of client retry, may run succeeded.421 services are unavailable, just in closing control, connect.If service determines that it must close, will send this to any order and reply.425 cannot open data connects.426Connection?closed;transfer?aborted。450 do not carry out the file operation of request.File unavailable (for example, file is busy).The operation exception of 451 requests stops: processing local mistake.452 do not carry out the operation of request.System memory space is inadequate.

The permanent negative answer that completes of 5xx-, this order is unsuccessful, and mistake is permanent.If, will again there is same mistake in the order of client retry.500 syntax errors, order None-identified.This may comprise the mistake such as order line is oversize.501 have syntax error in parameter.502 fill orders not.The command sequence of 503 mistakes.504 do not carry out the order of this parameter.530 not logins.532 storage files need account.550 do not carry out the operation of request.File unavailable (for example, do not find file, there is no access rights).The operation exception of 551 requests stops: unknown page type.The file operation abnormal end of 552 requests: exceed memory allocation (for current directory or data set).553 do not carry out the operation of request.Unallowed filename.

Common FTP state code and reason thereof:

150-FTP is used two ports: 21 for sending order, and 20 for sending data.State code 150 expression servers are prepared on port 20, to open new connection, send some data.226-order is opened data and is connected with executable operations, as transfer files on port 20.This operation is successfully completed, and data connect closes.230-client sends after correct password, shows this state code.It represents that user successfully logins.331-client sends after user name, shows this state code.Whether the user name that no matter provided is the effective account in system, all will show this state code.426-order is opened data and is connected with executable operations, but this operation is cancelled, and data connection is closed.This state code of 530-represents that user cannot login, because username and password combination is invalid.If use certain user account login, the user name of possible key error or password, also may select only to allow anonymous access.If use anonymous account's login, the configuration of IIS may be refused anonymous access.550-order is not performed, because the file of appointment is unavailable.For example, the file of GET not exist, or attempt file PUT not write to you the catalogue of authority.

In sum, there is above-mentioned mistake, user can only change network address or etc. Hou Xiufu, user is helpless to this.

In prior art, for the unified management of the above-mentioned wrong neither one of each website and log recording, cannot recognize when produce abnormal, also cannot trace to source, cannot know fast the abnormal conditions of website.How effectively to monitor and to solve website fault, when machine is delayed in website, can return to friendly faulty page to user, also there is no at present effective solution, can meet user's normal user demand.

Summary of the invention

Technical problem solved by the invention is to provide website faulty page log recording method, the present invention designs with B/S structure, under Microsoft.NET Framework 2.0 frameworks, adopted Microsoft Visual Studio 2008 as development platform, the Windows event viewer of usining is developed as log recording source.The invention solves when website occurs 400, after 404 and 500 type faults, in the situation that website using is crossed hundred million visit capacities, online friend can not see the disagreeableness website page that reports an error, but see the corresponding friendly faulty page of different templates demonstration according to different business line, simultaneously, the concrete information that reports an error of sample note of the real-time high capacity of system meeting, the Event Log carrying by Windows carries out dynamically recording and alarm, can categorised collection arrive: the type of mistake simultaneously, the system reporting an error, the page reports an error, the original user information of web browser, active user's cookie information and feed back to each system to search relevant issues, to optimize the abnormal of each website, reduce the generation of the wrong page, effectively help O&M engineer to investigate problem and accident alarm, improve service quality.

In order to solve the problems of the technologies described above, the invention provides website faulty page log recording method, comprising:

S1, when the website of client occurs wrongly when abnormal, described website jumps to the page of website faulty page log recording software automatically;

S2, described website faulty page log recording software statistics be the data of abnormal access amount in short-term;

S3, described website faulty page log recording software judge that whether described abnormal access amount surpasses threshold value, processes respectively;

S3.a, when described abnormal access amount is in threshold range:

Described website faulty page log recording software is extremely all recorded to described mistake in the application program of windows event viewer and the service daily record of described windows event viewer; Described website faulty page log recording software feeds back to corresponding described website by record in described service daily record again, and the corresponding problem of analyzing in described service daily record is searched in described website; Described website faulty page log recording software returns to dynamic error page to described client;

S3.b, when described abnormal access amount surpasses threshold value:

Described website faulty page log recording software by the abnormal sample note of described mistake in the described application program of described windows event viewer and the described service daily record of described windows event viewer; Described website faulty page log recording software feeds back to corresponding described website by record in described service daily record again, and the corresponding problem of analyzing in described service daily record is searched in described website; Described website faulty page log recording software returns to static friendly faulty page to described client.

Preferably, when described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, described service daily record is carried out categorised collection extremely to described mistake.

More preferably, the content that categorised collection is carried out in described service daily record comprises the type of mistake, the software systems that report an error, the page that reports an error, the original user information of web browser, and active user's cookie information.

More preferably, when described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, described Windows event viewer carries out policy deployment, set up independent journal file to each web-site, the space size distributing according to strategy dynamically carries out daily record renewal simultaneously.

Wherein, described B/S structure (Browser/Server, Browser/Server Mode), is a kind of network configuration pattern after WEB rises, and WEB browser is the topmost application software of client.This pattern has been unified client, and the core that systemic-function is realized focuses on server, has simplified exploitation, maintenance and the use of system.In client computer, as long as a browser (Browser) is installed, as Netscape Navigator or Internet Explorer, server is installed the databases such as Oracle, Sybase, Informix or SQL Server.Browser carries out data interaction by Web Server with database.The advantage of B/S structure maximum is exactly can operate anywhere and any special software need not be installed, as long as there is the computer that can surf the Net just can use, client zero installation, zero dimension are protected.The expansion of system is very easy to.The use of B/S structure is more and more, particularly by demand driving the development of AJAX technology, its program also can be carried out section processes on client computer, thereby has alleviated greatly the burden of server; And increased interactivity, can carry out part and refresh in real time.

Wherein, described Microsoft.NET Framework is the new Managed Code programming model for Windows.Its power and new technology combine, and for building, have the application program that visually noticeable user experiences, and realize the seamless communication across technology border, and can support miscellaneous service flow process.Described Microsoft.NET Framework 2.0 editions can re-issue assembly bag, installation and operation required Microsoft.NETFramework Runtime Library and associated documents during for 2.0 editions developing applications of Microsoft.NET Framework.Microsoft.NET Framework 2.0 editions has improved buffer memory, thereby has improved extensibility and the performance of application program; Use ClickOnce to improve application deployment and renewal; By control and service, to various browsers and equipment, provide more powerful support.ClickOnce is a kind of deployment techniques, uses this technology can create the application program based on Windows of upgrading voluntarily, and these application programs can be carried out installation and operation by the user interactions of minimum level.

Wherein, described Microsoft Visual Studio 2008 is the developing instruments of future generation towards Windows Vista, Office 2007, Web 2.0, code name " Orcas ", be to Visual Studio 2005 once in time, comprehensively upgrading.Microsoft Visual Studio 2008 introduced more than 250 new features, integrated the access mode of object, relational data, XML, and language is more succinct.Use Microsoft Visual Studio 2008 to apply by Efficient Development Windows.In designer, can reflect in real time change, in XAML, Intellisense function can improve development efficiency.Microsoft Visual Studio 2008 supports project templet, debugger and deployment program simultaneously.Microsoft Visual Studio 2008 can Efficient Development Web application, integrated AJAX 1.0, comprises AJAX project templet, it can also Efficient Development Office application and Mobile apply.XAML is the english abbreviation of Extensible Application Markup Language, and corresponding Chinese is XAML, a kind of new descriptive language that Ta Shi Microsoft creates for building application program user interface.XAML provides a kind of and has been convenient to expansion and defines the user interface separated with programmed logic with the grammer of location, and " code rearmounted " model in this implementation and ASP.NET is very similar.XAML is a kind of language of analyticity, although it also can be compiled.Its advantage is user's constructive process of simplifying on programmatic method, during application, will add code etc.AJAX i.e. " Asynchronous JavaScript and XML " (asynchronous JavaScript and XML), and AJAX is the noun of being created by Jesse James Gaiiett, refers to a kind of webpage development technology that creates interaction network page application.

Wherein, described Windows is the form computer operating system Windows by name that Microsoft releases.Along with the continuous upgrading of computer hardware and software systems, the Windows operating system of Microsoft is also in continuous upgrading, from 16,32 to 64 bit manipulation systems.The Windows95 knowing to everybody from initial Windows1.0, NT, 97,98,2000, Me, XP, Server, Vista, Windows 7, the continuous updating of Windows 8 various versions, Microsoft is doing the best in the exploitation of Windows operation and perfect always.

Wherein, described Event Log, refers to system journal record service, for seeking system defect.Event Log Analyzer can analyze all Windows and unix syslog.If generate an important security incident on certain machine in network, will be presented in the instant report on Event Log Analyzer panel board.From event journaling, can analyse in depth, and found out basic reason within several minutes, then concentrate strength on solving.Receive the prompt alarm of particular event on particular server: you trigger alarm in the time of can being arranged on and generating particular event on server.For example, you can arrange and when alarm generates emergency on mail server, notify keeper.Alarm can send to operator by Email.By Event Log Analyzer alarm, you just can awareness network in the last state of each system.Distributed event is archived to middle position: the abundant display system of event log energy of file is in the performance of different time.But event log retrieval is a quite complicated task, unless stored all event logs into a middle position, operator just can access these daily records at any time like this.Event Log Analyzer can be archived to a middle position automatically the event log receiving from each system, for operator, accesses at any time.Without client software/agency: Event Log Analyzer need to not install independent agency so that collector journal on every machine.Because collecting the agency itself of Windows event and Sys Log message is exactly a part for Event Log Analyzer server.Therefore Event Log Analyzer can be under the prerequisite that does not increase main unit load Collection and analysis event log.

Wherein, described Cookie, also uses its plural form Cookies sometimes, refer to some website in order to distinguish user identity, carry out session tracking and be stored in the data (conventionally through encrypting) in subscriber's local terminal.Cookie is generated by server end, send to User-Agent (being generally browser), browser can be saved in the key/value of Cookie in the text under certain catalogue, and request next time just sends this Cookie to server (prerequisite is that browser is set to enable cookie) during same website.Cookie name claims and is worth and can be defined by server end exploitation oneself, the Jsession Id that also can write direct for JSP, and server can be known whether validated user and whether need again to login etc. of this user like this.

The present invention compared with prior art, has following beneficial effect:

The invention provides website faulty page log recording method, the invention solves when website occurs 400, after 404 and 500 type faults, in the situation that website using is crossed hundred million visit capacities, online friend can not see the disagreeableness website page that reports an error, but see according to the different templates of different business line and show corresponding friendly faulty page, simultaneously, the concrete information that reports an error of sample note of the real-time high capacity of meeting of the present invention, the event log carrying by Windows carries out dynamically recording and alarm, can categorised collection arrive: the type of mistake simultaneously, the software systems that report an error, the page reports an error, the original user information of web browser, active user's cookie information and feed back to each website to search relevant issues, to optimize the abnormal of each website, reduce the generation of the wrong page, effectively help O&M engineer to investigate problem and accident alarm, improve service quality.

Accompanying drawing explanation

Fig. 1 exemplarily shows website faulty page log recording method flow chart;

Fig. 2 exemplarily shows client and uses flow chart.

Embodiment

For the technical scheme of understanding better technical problem solved by the invention, providing, below in conjunction with drawings and Examples, the present invention is further elaborated.Specific embodiment described herein is only in order to explain enforcement of the present invention, but is not intended to limit the present invention.

In a preferred embodiment, Fig. 1 exemplarily shows website faulty page log recording method flow process;

When the website of client occurs that mistake is abnormal, described website jumps to the page of website faulty page log recording software automatically; Described website faulty page log recording software statistics is the data of abnormal access amount in short-term; Described website faulty page log recording software judges that whether described abnormal access amount surpasses threshold value, processes respectively;

When described abnormal access amount is in threshold range: described website faulty page log recording software is extremely all recorded to described mistake in the application program of windows event viewer and the service daily record of described windows event viewer; Described website faulty page log recording software feeds back to corresponding described website by record in described service daily record again, and the corresponding problem of analyzing in described service daily record is searched in described website; Described website faulty page log recording software returns to dynamic error page to described client;

When described abnormal access amount surpasses threshold value: described website faulty page log recording software by the abnormal sample note of described mistake in the described application program of described windows event viewer and the described service daily record of described windows event viewer; Described website faulty page log recording software feeds back to corresponding described website by record in described service daily record again, and the corresponding problem of analyzing in described service daily record is searched in described website; Described website faulty page log recording software returns to static friendly faulty page to described client.

More preferably, when described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, described Windows event viewer carries out policy deployment, set up independent journal file to each web-site, the space size distributing according to strategy dynamically carries out daily record renewal simultaneously.

In the embodiment being more preferably:

1, server configuration

Server need to carry out parameter adjustment, and to adapt to after website reports an error, the linking number that excessive visit capacity causes such as takies at the problem, and concrete set-up mode is as follows:

(1) adjust IIS 7 application pool queue lengths: by original acquiescence 1000, change 65535 into.The senior queue length of IIS manager > application pool >: 65535; Static content is opened output buffer memory, compression function;

(2) Delete superfluous handler mappings;

(3) enable content expired;

(4) application pool setting: recovery operation process-Fixed Time Interval: 120~200 minutes; Recovery operation process-special time: 2:00; Maximum functional process number: 5; Maximum number of faults: 50; Arrange start-up time: 90 seconds; Shut-in time restriction: 180 seconds, avoid closing time-out error.

(5) delete useless Http Module, acquiescence can be opened;

(6) forbidding IIS Log.

2, business website configuration

(1) open the web.config of software;

(2) configuration Custom Error joint is to be mapped to error code self-defined template page;

(3) configuration mode=" On ";

(4) configuration defaultRedirect=;

(5) configuration error statusCode=;

(6) configuration error redirect=.

3, sample note program

When website reports an error, instantaneous flow of setting out is very large, is easy to cause the website machine of delaying, and causes user to have access to faulty page or Yellow Page.The present invention designs with B/S structure, under Microsoft.NETFramework 2.0 frameworks, adopted Microsoft Visual Studio 2008 as development platform, usingd alert as software language, the Windows event viewer of usining is developed as log recording source; According to instantaneous sample amount, set rational threshold value, when taking advantage of a situation sample size in threshold value time, record whole daily records, when the sample size of taking advantage of a situation surpasses threshold value, according to configuration, adopt the mode of sample note daily record, to foreground, directly show static friendly faulty page simultaneously, thereby improve user, experience; When described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, service daily record is carried out categorised collection extremely to mistake, serve daily record and carry out the type that the content of categorised collection comprises mistake, the software systems that report an error, the page reports an error, the original user information of web browser, and active user's cookie information; Feed back to each website and search corresponding problem, to optimize the abnormal of each website, reduce the generation of the wrong page, improve service quality.

In specific embodiment:

Fig. 2 exemplarily shows client and uses flow process: in the time of user's normal browsing website, if website occurs 403,404, the mistakes such as 500, the page can occur extremely, and now website jumps to faulty page log recording software, this software basis is abnormal access amount in short-term, carry out daily record sample note, when visit capacity is in threshold range, daily record be all recorded to windows event viewer application program and service daily record in; When visit capacity surpasses threshold value, daily record sample note, in the application program and service daily record of the event viewer of windows, directly returns to static friendly faulty page, otherwise returns to dynamic error page, regardless of great visit capacity, user sees disagreeableness faulty page or Yellow Page never like this.When described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, described Windows event viewer carries out policy deployment, set up independent journal file to each web-site, extremely whether this software detection this have customization masterplate, if there is customization masterplate, customize abnormal prompt data; If do not customize masterplate, give tacit consent to abnormal prompt data, return to abnormal prompt; The space size distributing according to strategy dynamically carries out daily record renewal simultaneously.

Wherein, described alert has used a kind of script in HTML DOM, and its Chinese meaning is " prompting ".It is a common method of window window object in JavaScript or VBscript script; Its main usage is exactly after yourself has defined certain function, by carrying out corresponding operation, the language of the dialog box that ejects.And alert dialog box is generally used for some informations to user.Described VBScript is the abbreviation of Visual Basic Script, it is Visual Basic script, sometimes be also abbreviated as VBS, it is the programming language of ASP dynamic web page acquiescence, coordinate the built-in object of ASP and ADO object, user can grasp the ASP dynamic web page development technique of accessing database soon.ASP is the abbreviation of Active Server Page, means " Active Server Pages ".The application of a kind of shell script of described ASPShi Microsoft exploitation, it can carry out alternately with database and other program, is a kind of programming tool simply and easily.The form of the web page files of ASP is .asp.Be usually used in now in various dynamic websites.The abbreviation of aspirin, asparatate, Ali's software marketing affiliate, U.S.'s arms system and program company etc. is all also ASP in addition.

More than by the detailed description of concrete and preferred embodiment the present invention; but those skilled in the art should be understood that; the present invention is not limited to the above embodiment; all within basic principle of the present invention; any modification of doing, combine and be equal to replacement etc., within being all included in protection scope of the present invention.

Claims (4)

1. a website faulty page log recording method, is characterized in that, comprising:
S1, when the website of client occurs wrongly when abnormal, described website jumps to the page of website faulty page log recording software automatically;
S2, described website faulty page log recording software statistics be the data of abnormal access amount in short-term;
S3, described website faulty page log recording software judge that whether described abnormal access amount surpasses threshold value, processes respectively;
S3.a, when described abnormal access amount is in threshold range:
Described website faulty page log recording software is extremely all recorded to described mistake in the application program of windows event viewer and the service daily record of described windows event viewer; Described website faulty page log recording software feeds back to corresponding described website by record in described service daily record again, and the corresponding problem of analyzing in described service daily record is searched in described website; Described website faulty page log recording software returns to dynamic error page to described client;
S3.b, when described abnormal access amount surpasses threshold value:
Described website faulty page log recording software by the abnormal sample note of described mistake in the described application program of described windows event viewer and the described service daily record of described windows event viewer; Described website faulty page log recording software feeds back to corresponding described website by record in described service daily record again, and the corresponding problem of analyzing in described service daily record is searched in described website; Described website faulty page log recording software returns to static friendly faulty page to described client.
2. website according to claim 1 faulty page log recording method, it is characterized in that, when described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, described service daily record is carried out categorised collection extremely to described mistake.
3. website according to claim 2 faulty page log recording method, is characterized in that, the content that categorised collection is carried out in described service daily record comprises the type of mistake, the software systems that report an error, the page that reports an error, the original user information of web browser, and active user's cookie information.
4. website according to claim 1 faulty page log recording method, it is characterized in that, when described website faulty page log recording software arrives the application program of described windows event viewer and the service daily record of described windows event viewer by described wrong exception record, described Windows event viewer carries out policy deployment, set up independent journal file to each web-site, the space size distributing according to strategy dynamically carries out daily record renewal simultaneously.
CN201310220486.5A 2013-06-05 2013-06-05 A kind of website faulty page log recording method CN104219080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310220486.5A CN104219080B (en) 2013-06-05 2013-06-05 A kind of website faulty page log recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310220486.5A CN104219080B (en) 2013-06-05 2013-06-05 A kind of website faulty page log recording method

Publications (2)

Publication Number Publication Date
CN104219080A true CN104219080A (en) 2014-12-17
CN104219080B CN104219080B (en) 2017-06-23

Family

ID=52100240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310220486.5A CN104219080B (en) 2013-06-05 2013-06-05 A kind of website faulty page log recording method

Country Status (1)

Country Link
CN (1) CN104219080B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407095A (en) * 2016-09-07 2017-02-15 北京小米移动软件有限公司 Fault processing method and device
CN106411970A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Fault handling method, device and system based on service call

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798052A (en) * 2004-12-29 2006-07-05 鸿富锦精密工业(深圳)有限公司 System and method for hinting abnormal states
CN101826993A (en) * 2010-02-04 2010-09-08 蓝盾信息安全技术股份有限公司 Method, system and device for monitoring security event
WO2010107626A2 (en) * 2009-03-16 2010-09-23 Microsoft Corporation Flexible logging, such as for a web server
CN102681929A (en) * 2011-03-15 2012-09-19 腾讯科技(深圳)有限公司 Webpage script error monitoring method and system
CN103378991A (en) * 2012-04-17 2013-10-30 碁震(上海)云计算科技有限公司 Online service abnormity monitoring method and monitoring system thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798052A (en) * 2004-12-29 2006-07-05 鸿富锦精密工业(深圳)有限公司 System and method for hinting abnormal states
WO2010107626A2 (en) * 2009-03-16 2010-09-23 Microsoft Corporation Flexible logging, such as for a web server
CN102356390A (en) * 2009-03-16 2012-02-15 微软公司 Flexible logging, such as for a web server
CN101826993A (en) * 2010-02-04 2010-09-08 蓝盾信息安全技术股份有限公司 Method, system and device for monitoring security event
CN102681929A (en) * 2011-03-15 2012-09-19 腾讯科技(深圳)有限公司 Webpage script error monitoring method and system
CN103378991A (en) * 2012-04-17 2013-10-30 碁震(上海)云计算科技有限公司 Online service abnormity monitoring method and monitoring system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411970A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Fault handling method, device and system based on service call
CN106411970B (en) * 2015-07-28 2019-10-11 阿里巴巴集团控股有限公司 A kind of fault handling method based on service call, device and system
CN106407095A (en) * 2016-09-07 2017-02-15 北京小米移动软件有限公司 Fault processing method and device
CN106407095B (en) * 2016-09-07 2019-02-22 北京小米移动软件有限公司 Fault handling method and device

Also Published As

Publication number Publication date
CN104219080B (en) 2017-06-23

Similar Documents

Publication Publication Date Title
Merideth et al. Thema: Byzantine-fault-tolerant middleware for web-service applications
US9201647B2 (en) Configuration management center
US8001529B2 (en) System and method of testing wireless component applications
ES2647039T3 (en) Techniques for gradual updates
Marty Cloud application logging for forensics
US6167448A (en) Management event notification system using event notification messages written using a markup language
US5974443A (en) Combined internet and data access system
US7334220B2 (en) Data driven test automation of web sites and web services
US20060195816A1 (en) Methods and systems for implementing on-line financial institution services via a single platform
Santos et al. Ftweb: A fault tolerant infrastructure for web services
US10187426B2 (en) Provisioning systems for installing credentials
US20110126275A1 (en) System and method for discovery enrichment in an intelligent workload management system
US6490624B1 (en) Session management in a stateless network system
US8434129B2 (en) Method and apparatus for multi-domain identity interoperability and compliance verification
US20080028048A1 (en) System and method for server configuration control and management
ES2409629T3 (en) Multi-domain access control
US20040117489A1 (en) Method and system for web-based switch-user operation
US9471474B2 (en) Cloud deployment infrastructure validation engine
US6665674B1 (en) Framework for open directory operation extensibility
JP5211160B2 (en) How to automatically manage computer network system downtime
US20090249439A1 (en) System and method for single sign-on to resources across a network
JP4779444B2 (en) Single sign-on implementation method
US8271632B2 (en) Remote access providing computer system and method for managing same
US7571208B2 (en) Creating proxies from service description metadata at runtime
EP1851632B1 (en) Disaster recovery framework

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant