CN104219080B - A kind of website faulty page log recording method - Google Patents

A kind of website faulty page log recording method Download PDF

Info

Publication number
CN104219080B
CN104219080B CN201310220486.5A CN201310220486A CN104219080B CN 104219080 B CN104219080 B CN 104219080B CN 201310220486 A CN201310220486 A CN 201310220486A CN 104219080 B CN104219080 B CN 104219080B
Authority
CN
China
Prior art keywords
website
page
log
log recording
faulty page
Prior art date
Application number
CN201310220486.5A
Other languages
Chinese (zh)
Other versions
CN104219080A (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 present invention relates to web technologies field, a kind of website faulty page log recording method is specifically disclosed;Including:When mistake exception occurs in the website of client, website automatic jumps to the page of website faulty page log recording software, starts to count the data of abnormal access amount in short-term and judges whether abnormal access amount exceedes threshold value, is respectively processed;When abnormal access amount is in threshold range:By in the serve log of wrong abnormal whole application programs that recorded windows event viewers and windows event viewers;When abnormal access amount exceedes threshold value:By in the serve log of the application program of wrong exception sample note to windows event viewers and windows event viewers;Record in serve log is fed back into corresponding website again, the corresponding problem in Analysis Service daily record is searched in website;Dynamic error page or static close friend's faulty page are returned to client.The exception of the convenient each website of optimization of the present invention, reduces the generation of the wrong page, effectively helps O&M engineer investigation problem and accident alarm.

Description

A kind of website faulty page log recording method

Technical field

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

Background technology

When user attempts to be currently running Internet information services by HTTP or FTP (FTP) access one (IIS) during content on server, IIS returns to a digital code for the state for representing the request.The state code is recorded In IIS daily records, while being likely to be shown in Web browser or ftp client.Whether state code may indicate that specific request It has been succeeded that, also can indicate that the reason for request fails.

By default, IIS its journal file be placed on WINDIR System32 in Logfiles files.Often Individual WWW (WWW) website and FTP site have a single catalogue under the catalogue.By default, all can daily Journal file is created under these catalogues, and (for example, ex YYMMDD.log) is named to journal file with the date.

HTTP:

1xx- information alerts, these state codes represent interim response.Client before normal response is received, Ying Zhun It is standby to receive one or more 1xx responses.100- continues.101- handoff protocols.2xx- successes.This kind of state code shows server Successfully receive client request.

200- determines.Client request has succeeded.201- has been created.202- has received.203- inauthoritativeness information.204- Without content.205- resets content.206- partial contents.

3xx- is redirected:Client browser must take more multioperation to realize request.For example, browser is possible must not The not different page on request server, or the request is repeated by proxy server.301- objects are forever removed, i.e., forever Redirect long.302- objects are moved temporarily.304- is unmodified.307- is redirected temporarily.

4xx- client error, makes a mistake, and client seems problematic.For example, the non-existent page of client request, Client is not provided with the authentication information of effect.The request of 400- mistakes.401- access denieds.IIS defines many not 401 same mistakes, they indicate more specifically error reason.These specific error codes show in a browser, but not Shown in IIS daily records:401.1- login failures.The configuration of 401.2- servers causes login failure.401.3- is because ACL is to money The limitation in source and authorized.401.4- screening washer authorization failures.401.5-ISAPI/CGI application program authorization failures. 401.7- is accessed by the URL delegated strategies refusal on Web server.This error code is special for IIS6.0.403- forbids Access:IIS defines many 403 different mistakes, and they indicate more specifically error reason:403.1- is performed and is accessed banned Only.403.2- read accesses are prohibited.403.3- write access is prohibited.403.4- requirements SSL.403.5- requirements SSL128. 403.6-IP addresses are rejected.403.7- requirement client certificates.403.8- site access is rejected.403.9- number of users mistakes It is many.403.10- invalid configurations.403.11- changes of secret code.403.12- denied access mapping tables.403.13- client certificate quilts Revoke.403.14- refuses directory listing.403.15- exceeds CAL.403.16- client certificates are not trusted Or it is invalid.403.17- client certificates are out of date or not yet come into force.403.18- can not be performed in current application pool The URL for being asked.This error code is special for IIS6.0.403.19- can not be the client in this application pool Perform CGI.This error code is special for IIS6.0.403.20-Passport login failures.This error code is IIS6.0 institutes are special.404- does not find.404.0- (nothing)-do not find file or catalogue.404.1- cannot be at the end asked Web site is accessed on mouthful.404.2-Web service extension locking strategies prevent this from asking.404.3-MIME mapping policys prevent this Request.The HTTP predicates that 405- is used for accessing this page are not allowed to (method is not allowed to).406- client browsers do not connect By the mime type of requested page.407- requirements carry out Proxy Authentication.412- preconditions fail.413- request entities It is too big.URI is oversize for 414- requests.The medium type that 415- is not supported.The scope that 416- is asked cannot meet.417- performs mistake Lose.The mistake of 423- lockings.

5xx- server mistakes, server can not complete the request due to running into mistake.500- internal server errors. 500.12- application programs are busy in being restarted on Web server.500.13-Web servers are too busy.500.15- is not allowed Directly ask Global.asa.500.16-UNC authorizes authority incorrect.This error code is special for IIS6.0. 500.18-URL mandate storages can not be opened.This error code is special for IIS6.0.500.100- inside ASP mistakes. 501- header values specify unconsummated configuration.502-Web servers are used as to have received invalid sound when gateway or proxy server Should.502.1-CGI application programs time-out.502.2-CGI application programs malfunction.application.503- services are unavailable.This Individual error code is special for IIS6.0.504- gateways time-out.505-HTTP versions are not supported.

FTP:

1xx- preliminary answers certainly, these state codes indicate an operation successfully to start, but client is wished Another answer is obtained before continuing to operate newer command.110 restarting marks are replied.120 services are ready, after n minutes Start.125 no transfer in progress, start transmission.150 file status are normal, prepare to open data cube computation.

2xx- completions certainly are replied, and an operation is successfully completed.Client can perform newer command.200 orders It is determined that.202 are not carried out order, and the order on website is excessive.211 system modes, or system help is replied.212 directory states. 213 file status.214 help message.215NAME system types, wherein, NAME is listed in Assigned Numbers documents Formal systematic name.220 services are ready, can perform the request of new user.221 service closing control connections.If appropriate, Please nullify.225 data cube computations are opened, and do not have ongoing transmission.226 close data cube computation.The file operation of request has succeeded (for example, transmit file or abandon file).227 enter Passive Mode (h1, h2, h3, h4, p1, p2).230 users have logged in, after It is continuous to carry out.The file operation of 250 requests is correct, has completed.257 have created " PATHNAME ".

3xx- middle answers certainly, the order has succeeded, but server needs more information from client with complete The treatment of request in pairs.331 username goods are, it is necessary to password.332 need login account.The file operations of 350 requests are etc. Treat further information.

The completion of 4xx- transient states negative is replied, and the order is unsuccessful, but mistake is temporary transient.If client retries life Order, may run succeeded.421 services are unavailable, just connected in closing control.If service determines that it must shut off, will be to Any order sends this response.425 cannot open data cube computation.426Connection closed;transfer aborted.450 file operations for being not carried out request.File is unavailable (for example, file is busy).The operation exception end of 451 requests Only:Processing local mistake.452 operations for being not carried out request.System memory space is inadequate.

The completion that 5xx- negates permanently is replied, and the order is unsuccessful, and mistake is permanent.If client retries life Order, same mistake will again occurs.500 syntax errors, order None- identified.It is oversize etc that this potentially includes such as order line Mistake.501 have syntax error in parameter.502 are not carried out order.The command sequence of 503 mistakes.504 are not carried out the parameter Order.530 are not logged in.532 storage files need account.550 operations for being not carried out request.File is unavailable (for example, not looking for To file, there is no access rights).The operation exception of 551 requests terminates:Unknown page type.The file operation of 552 requests is different Often terminate:Beyond storage distribution (for current directory or data set).553 operations for being not carried out request.The filename not allowed.

Common FTP state codes and its reason:

150-FTP uses two ports:21 are used to send order, and 20 are used to send data.State code 150 represents service Device prepares to open new connection on port 20, sends some data.226- orders open data cube computation to perform on port 20 Operation, such as transmission file.The operation is successfully completed, and data cube computation is turned off.After 230- clients send correct password, display The state code.It represents user's Successful login.After 331- clients send user name, the state code is shown.No matter institute Whether the user name of offer is effective account in system, will all show the state code.426- orders open data cube computation with Operation is performed, but the operation has been cancelled, and data cube computation is turned off.The 530- state codes represent that user cannot log in, because Username and password combination is invalid.If logged in using certain user account, the user name or password of possible key error also may be used Can selection permission anonymous access.If logged in using anonymous account, the configuration of IIS may refuse anonymous access.550- orders It is not performed, because the file specified is unavailable.For example, want the file of GET and do not exist, or attempt do not have file PUT to you There is the catalogue of write-in authority.

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

In the prior art, the management unified for the above-mentioned wrong neither one of each website and log recording, it is impossible to understand To being the exception that when produces, cannot also trace to source, it is impossible to the quick abnormal conditions for knowing website.It is how effective Ground monitoring and website failure is solved, return to friendly faulty page can to when machine is delayed in website user, there is presently no having The solution of effect, can meet the normal use demand of user.

The content of the invention

Technical problem solved by the invention is to provide website faulty page log recording method, and the present invention is with B/S structures It is designed, under the frameworks of Microsoft.NET Framework 2.0, employs Microsoft Visual Studio 2008, as development platform, are developed using Windows event viewers as log recording source.The present invention is solved and works as net Stand after 400,404 and 500 type faults of appearance, in the case where website crosses hundred million visit capacities, online friend not can be appreciated that unfriendly Website report an error the page, but to see and show corresponding close friend's faulty page according to the different templates of different business line, meanwhile, system Can real-time high capacity the specific error information of sample note, the Event Log carried by Windows carry out dynamically recording and Alarm, while can be arrived with categorised collection:The type of mistake, the system for reporting an error, the page that reports an error, the original user letter of web browser Breath, active user's cookie information and each system is fed back to search relevant issues, to optimize the exception of each website, reduce wrong The generation of the page by mistake, effectively helps O&M engineer investigation problem and accident alarm, improves service quality.

In order to solve the above-mentioned technical problem, the invention provides website faulty page log recording method, including:

S1, when the website of client occur mistake it is abnormal when, the website automatic jumps to website faulty page log recording The page of software;

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

S3, the website faulty page log recording software judge whether the abnormal access amount exceedes threshold value, carry out respectively Treatment;

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

The website faulty page log recording software is by the abnormal whole windows event viewers that recorded of the mistake In the serve log of application program and the windows event viewers;The website faulty page log recording software is again by institute Record feeds back to the corresponding website, accordingly asking in the website lookup analysis serve log in stating serve log Topic;The website faulty page log recording software returns to dynamic error page to the client;

S3.b, when the abnormal access amount exceed threshold value when:

The website faulty page log recording software checks the mistake exception sample note to the windows events In the serve log of the application program of device and the windows event viewers;The website faulty page daily record note Record in the serve log is fed back to the corresponding website by recording software again, and the analysis serve log is searched in the website In corresponding problem;The website faulty page log recording software returns to static close friend's faulty page to the client.

Preferably, when the website faulty page log recording software is by the wrong exception record to the windows things During the serve log of the application program of part reader and the windows event viewers, the serve log is to the mistake Exception carries out categorised collection.

It is further preferred that the content that the serve log carries out categorised collection includes the type of mistake, the software system for reporting an error System, report an error the page, the original user information of web browser, and active user's cookie information.

It is further preferred that when the website faulty page log recording software by the wrong exception record to described in During the serve log of the application program of windows event viewers and the windows event viewers, the Windows things Part reader carries out policy deployment, and single journal file is set up to each web-site, while the sky distributed according to strategy Between size dynamically carry out daily record renewal.

Wherein, the B/S structures (Browser/Server, Browser/Server Mode), are the one kind after WEB rises Network structure pattern, web browser is the topmost application software of client.This pattern has unified client, by system work( The core that can be realized is focused on server, is simplified the exploitation of system, is safeguarded and use.As long as installing one in client computer Individual browser (Browser), such as Netscape Navigator or Internet Explorer, server installation Oracle, The databases such as Sybase, Informix or SQL Server.Browser carries out data interaction by Web Server with database. B/S structures biggest advantage can be just anywhere to carry out being operable without any special software of installation, as long as having one The computer that platform can surf the Net can just be used, client zero installation, zero dimension shield.The extension of system is very easy to.The use of B/S structures is got over Come more, the development of AJAX technologies particularly by demand driving, its program can be also carried out at part on client computer Reason, so as to greatly alleviate the burden of server;And interactivity is increased, local refreshing in real time can be carried out.

Wherein, the Microsoft.NET Framework are the new Managed Code programming models for Windows.It Power combines with new technology, the application program for building with visually noticeable Consumer's Experience, realizes Across the seamless communication of technological boundary, and miscellaneous service flow can be supported.The Microsoft.NET Framework 2.0 editions Component bag can be re-issued, installation and operation is directed to required during 2.0 editions development and application programs of Microsoft.NET Framework Microsoft.NETFramework Runtime Libraries and associated documents.Microsoft.NET Framework 2.0 editions improve slow Deposit, so as to improve the scalability and performance of application program;Application deployment and renewal are improved using ClickOnce; By control and service more powerful support is provided to various browsers and equipment.ClickOnce is a kind of deployment techniques, is used The technology can create the application program based on Windows for voluntarily updating, and these application programs can be by the use of minimum level Family interaction carrys out installation and operation.

Wherein, the Microsoft Visual Studio 2008 be towards Windows Vista, Office 2007, The developing instrument of future generation of Web 2.0, code name " Orcas " is that Visual Studio 2005 once in time, are comprehensively risen Level.Microsoft Visual Studio 2008 introduce more than 250 new features, incorporate object, relational data, XML Access mode, language is more succinct.Can be answered with Efficient Development Windows using Microsoft Visual Studio 2008 With.Change can in real time be reflected in designer, Intellisense function can improve development efficiency in XAML.While Microsoft Visual Studio 2008 support project templet, debugger and deployment program.Microsoft Visual Studio 2008 Can be applied with Efficient Development Web, be integrated with AJAX 1.0, comprising AJAX project templets, it can be answered with Efficient Development Office Applied with Mobile.XAML is the english abbreviation of Extensible Application Markup Language, accordingly Chinese is XAML, and it is Microsoft to build application program user interface is created one Plant new descriptive language.XAML provides a kind of grammer for being easy to extend and position to define the user for programmed logic separate Interface, and this implementation is very similar with " code the is rearmounted " model in ASP.NET.XAML is a kind of language of analyticity Speech, although it can also be compiled.Its advantage is to simplify user on programmatic method to create process, using when to add code Deng.AJAX is " Asynchronous JavaScript and XML " (asynchronous JavaScript and XML), and AJAX is by Jesse The noun that James Gaiiett are created, refers to a kind of web development technologies for creating interaction network page application.

Wherein, the Windows is the entitled Windows of Windows computer operating system that Microsoft releases.With computer The continuous upgrading of Hardware & software system, the Windows operating system of Microsoft is also constantly being upgraded, from 16,32 to 64 Operating system.From initial Windows1.0 to known Windows95, NT, 97,98,2000, Me, XP, Server, The continuous updating of the various versions of Vista, Windows 7, Windows 8, Microsoft is doing the best in the exploitation of Windows operations always With it is perfect.

Wherein, the Event Log, refer to system journal record service, for searching system defect.Event Log Analyzer can analyze all Windows and unix syslog.If generation one is important on certain machine in a network Security incident, will be displayed in the instant report on Event Log Analyzer instrument boards.Can from event journaling To be analysed in depth, and basic reason is found out within several minutes, then concentrate strength on solving.Receive special on particular server Determine the prompt alarm of event:You can set triggering alarm when generate on the server particular event.For example, you can set announcement It is alert to notify keeper during generation emergency on mail server.Alarm can be sent to operator by Email.Borrow Event Log Analyzer are helped to alert, you just can be with the last states of each system in awareness network.Distributed event is deposited Shelves arrive middle position:The event log energy of archive fully performance of the display system in different time.But, event log retrieval is One considerably complicated task, unless by the storage of all event logs to a middle position, such operator just can be at any time Access these daily records.Event Log Analyzer automatically can be archived to the event log received from each system in one Centre position, so that operator accesses at any time.Without client software/agency:Event Log Analyzer need not be at every Installed on machine and individually acted on behalf of so as to collector journal.Because the agency of collection Windows events and Sys Log message is inherently It is a part for Event Log Analyzer servers.Therefore Event Log Analyzer can not increase main unit load Under the premise of collect and analysis event log.

Wherein, the Cookie, sometimes also with its plural form Cookies, refer to some websites in order to distinguish user identity, The data (generally going through encryption) for carrying out session tracking and being stored on user local terminal.Cookie is by server end Generation, is sent to User-Agent (usually browser), and the key/value of Cookie can be saved in certain catalogue by browser Under text in, next time ask same website when just send the Cookie to server (on condition that browser is set to open With cookie).Cookie name claims and is worth that oneself definition can be developed by server end, can also be write direct for JSP Jsession Id, such server is known that whether whether the user validated user and need to log in again.

The present invention compared with prior art, has the advantages that:

The invention provides website faulty page log recording method, the present invention is solved when website occurs 400,404 and 500 After type fault, in the case where website crosses hundred million visit capacities, online friend not can be appreciated that disagreeableness website reports an error the page, but See and show corresponding friendly faulty page according to the different templates of different business line, meanwhile, the present invention understands taking out for real-time high capacity Sample records specific error information, and the event log carried by Windows carry out dynamically recording and alarm, while can divide Class is collected into:The type of mistake, the software systems for reporting an error, the page that reports an error, the original user information of web browser, active user Cookie information and each website is fed back to search relevant issues, to optimize the exception of each website, reduce the product of the wrong page It is raw, O&M engineer investigation problem and accident alarm are effectively helped, improve service quality.

Brief description of the drawings

Fig. 1 schematically illustrates website faulty page log recording method flow chart;

Fig. 2 schematically illustrates client and uses flow chart.

Specific embodiment

The technical problem for being solved for a better understanding of the present invention, the technical scheme for being provided, below in conjunction with accompanying drawing and Embodiment, the present invention will be described in further detail.Specific embodiment described herein is only used to explain reality of the invention Apply, but be not intended to limit the present invention.

In a preferred embodiment, Fig. 1 schematically illustrates website faulty page log recording method flow;

When mistake exception occurs in the website of client, the website automatic jumps to website faulty page log recording software The page;The data of website faulty page log recording software statistics abnormal access amount in short-term;The website faulty page daily record Logging software judges whether the abnormal access amount exceedes threshold value, is respectively processed;

When the abnormal access amount is in threshold range:The website faulty page log recording software is different by the mistake Normal whole recorded in the application program of windows event viewers and the serve log of the windows event viewers;Institute State website faulty page log recording software and record in the serve log is fed back into the corresponding website again, the website is looked into The corresponding problem looked in the analysis serve log;The website faulty page log recording software returns to dynamic to the client Faulty page;

When the abnormal access amount exceedes threshold value:The website faulty page log recording software takes out the mistake exception Sample recorded the service of the application program and the windows event viewers of the windows event viewers In daily record;Record in the serve log is fed back to the corresponding website by the website faulty page log recording software again, Search the corresponding problem in the analysis serve log in the website;The website faulty page log recording software gives the client End returns to static close friend's faulty page.

It is further preferred that when the website faulty page log recording software by the wrong exception record to described in During the serve log of the application program of windows event viewers and the windows event viewers, the Windows things Part reader carries out policy deployment, and single journal file is set up to each web-site, while the sky distributed according to strategy Between size dynamically carry out daily record renewal.

In more preferred embodiment:

1st, server configuration

Server is needed to carry out parameter adjustment, and to adapt to after website reports an error, the connection number that excessive visit capacity is caused is accounted for With the problems such as, specific set-up mode is as follows:

(1) the application pool queue lengths of IIS 7 are adjusted:65535 are changed to by original acquiescence 1000.IIS managers > The senior queue lengths of application pool >:65535;Static content opens output caching, compression function;

(2) unnecessary handler mappings are deleted;

(3) content expiration is enabled;

(4) application pool is set:Recovery operation process-Fixed Time Interval:120~200 minutes;Recovery operation is entered Journey-special time:2:00;Maximum functional enters number of passes:5;Maximum number of faults:50;Start set of time:90 seconds;Shut-in time limits System:180 seconds, it is to avoid close time-out error.

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

(6) disabling IIS Log.

2nd, business website configuration

(1) web.config of software is opened;

(2) configuration Custom Error sections are mapped to self-defined template page with by error code;

(3) configuration mode=" On ";

(4) defaultRedirect=is configured;

(5) configuration error statusCode=;

(6) configuration error redirect=.

3rd, sample note program

When website reports an error, the flow instantaneously seted out is very big, it is easy to causes website to delay machine, causes user to have access to Faulty page or Yellow Page.The present invention is designed with B/S structures, under the frameworks of Microsoft.NETFramework 2.0, is used Microsoft Visual Studio 2008 as development platform, using alert as software language, with Windows events Reader is developed as log recording source;Rational threshold value is set according to instantaneous sample amount, when sample size of taking advantage of a situation is in threshold value When interior, the whole daily records of record, when sample size of taking advantage of a situation is more than threshold value, then according to configuration, using sample note daily record Mode, while directly display static close friend's faulty page to foreground, so as to improve Consumer's Experience;When the website faulty page daily record Logging software is by the application program and the windows events of the wrong exception record to the windows event viewers During the serve log of reader, serve log carries out categorised collection to wrong exception, and serve log carries out the content of categorised collection Type including mistake, the software systems for reporting an error, report an error the page, the original user information of web browser, and active user Cookie information;Feed back to each website and search corresponding problem, to optimize the exception of each website, reduce the generation of the wrong page, Improve service quality.

In specific embodiment:

Fig. 2 schematically illustrates client and uses flow:When user normal browsing website, if website occurs The mistakes such as 403,404,500, the page can occur exception, and now website jumps to faulty page log recording software, this software basis Abnormal access amount, carries out daily record sample note in short-term, and when visit capacity is in threshold range, daily record all recorded windows's In the application program and serve log of event viewer;When visit capacity exceedes threshold value, the event of daily record sample note to windows In the application program and serve log of reader, static close friend's faulty page is directly returned to, otherwise return to dynamic error page, so not Great visit capacity is managed, user never sees disagreeableness faulty page or Yellow Page.When the website faulty page log recording Software checks the application program and the windows events of the wrong exception record to the windows event viewers During the serve log of device, the Windows event viewers carry out policy deployment, and single daily record is set up to each web-site File, whether this has customization masterplate to this software detection extremely, if customization masterplate, then customizes abnormal prompt data;If not yet There is customization masterplate, then give tacit consent to abnormal prompt data, return to abnormal prompt;The space size for being distributed according to strategy simultaneously dynamically enters Row daily record updates.

Wherein, the alert is to have used a kind of script in HTML DOM, and its Chinese means " prompting ".It It is a common method of window window objects in JavaScript or VBscript scripts;Its main usage be exactly Yourself is defined after certain function, by performing corresponding operation, the language of institute's pop-up dialogue box.And alert pairs Words frame is generally used for some prompt messages to user.The VBScript is the abbreviation of Visual Basic Script, i.e., Visual Basic scripts, are also abbreviated as VBS sometimes, are the programming languages of ASP dynamic web pages acquiescence, coordinate in ASP Object and ADO objects are built, user will soon grasp the ASP dynamic web page development techniques for accessing database.ASP is Active The abbreviation of Server Page, means " Active Server Pages ".The ASP is a kind of shell script of Microsoft's exploitation Using it can be interacted with database and other programs, be a kind of simply and easily programming tool.The web page files of ASP Form be .asp.It is existing frequently-used in various dynamic websites.Other aspirin, asparatate, Ali's software marketing are closed Make partner, the abbreviation of the U.S.'s arms system and program company etc. is also all ASP.

The present invention is described in detail above by specific and preferred embodiment, but those skilled in the art should be bright In vain, the invention is not limited in embodiment described above, all any modification, groups within general principle of the invention, made Conjunction and equivalent etc., are all contained within protection scope of the present invention.

Claims (4)

1. a kind of website faulty page log recording method, it is characterised in that including:
S1, when the website of client occur mistake it is abnormal when, the website automatic jumps to website faulty page log recording software The page;
The data of S2, the website faulty page log recording software statistics abnormal access amount in short-term;
S3, the website faulty page log recording software judge whether the abnormal access amount exceedes threshold value, are respectively processed;
S3.a, when the abnormal access amount is in threshold range:
The website faulty page log recording software is by the abnormal whole applications that recorded windows event viewers of the mistake In the serve log of program and the windows event viewers;The website faulty page log recording software is again by the clothes Record in business daily record feeds back to the correspondence website, and the corresponding problem in the analysis serve log is searched in the website;Institute State website faulty page log recording software and return to dynamic error page to the client;
S3.b, when the abnormal access amount exceed threshold value when:
The website faulty page log recording software is by the mistake exception sample note to the windows event viewers In the serve log of the application program and the windows event viewers;The website faulty page log recording is soft Record in the serve log is fed back to the correspondence website by part again, and the website is searched in the analysis serve log Corresponding problem;The website faulty page log recording software returns to static close friend's faulty page to the client.
2. faulty page log recording method in website according to claim 1, it is characterised in that when the website faulty page day Will logging software is by the application program and the windows things of the wrong exception record to the windows event viewers During the serve log of part reader, the serve log is abnormal to the mistake to carry out categorised collection.
3. faulty page log recording method in website according to claim 2, it is characterised in that the serve log is divided Type of the content that class is collected including mistake, the software systems for reporting an error, report an error the page, the original user information of web browser, And active user's cookie information.
4. faulty page log recording method in website according to claim 1, it is characterised in that when the website faulty page day Will logging software is by the application program and the windows things of the wrong exception record to the windows event viewers During the serve log of part reader, the Windows event viewers carry out policy deployment, set up independent to each web-site Journal file, while the space size distributed according to strategy dynamically carries out daily record renewal.
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 CN104219080A (en) 2014-12-17
CN104219080B true 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)

Families Citing this family (2)

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

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

Also Published As

Publication number Publication date
CN104219080A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
Kals et al. Secubat: a web vulnerability scanner
CN101438261B (en) Techniques and system to perform gradual upgrades
US6161139A (en) Administrative roles that govern access to administrative functions
US9201647B2 (en) Configuration management center
Yin et al. An empirical study on configuration errors in commercial and open source systems
US6535868B1 (en) Method and apparatus for managing metadata in a database management system
US6584507B1 (en) Linking external applications to a network management system
US8181071B2 (en) Automatically managing system downtime in a computer network
US7418484B2 (en) System and method for actively managing an enterprise of configurable components
CN102169484B (en) Comprehensive, relative and dynamic data search in virtual environment
US8990911B2 (en) System and method for single sign-on to resources across a network
US5974443A (en) Combined internet and data access system
Shraer et al. Venus: Verification for untrusted cloud storage
CA2782674C (en) System and method for providing virtual web access
US6453353B1 (en) Role-based navigation of information resources
US20090048997A1 (en) Method and apparatus for rule-based masking of data
US20030140128A1 (en) System and method for validating a network
US20030167298A1 (en) Method, system, and article of manufacture for implementing security features at a portal server
US6490624B1 (en) Session management in a stateless network system
US20050267976A1 (en) Data driven test automation of web sites and web services
US20050080799A1 (en) Real-time information collection and distribution system for robots and electronically controlled machines
US6832222B1 (en) Technique for ensuring authorized access to the content of dynamic web pages stored in a system cache
CN103299594B (en) System and method for extendible authentication framework
US8099425B2 (en) Relational model for management information in network devices
US7992127B2 (en) Method and system of encapsulating web site transactions for computer-aided generation of web services

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