Browse Prior Art Database

Method to centrally collect and manage client-side logging and traces generated by a web application

IP.com Disclosure Number: IPCOM000194421D
Publication Date: 2010-Mar-23
Document File: 5 page(s) / 20K

Publishing Venue

The IP.com Prior Art Database

Abstract

This disclosure provides a method to centrally collect and manage logs and traces generated by the client-side logic of a standard web application. Applications of this invention can range from troubleshooting client-side issues after customer deployment time to tracking activities and interactions of the end-users within a web page. .

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 24% of the total text.

Page 1 of 5

Method to centrally collect and manage client-side logging and traces generated by a web application

Background

The advent of Web 2.0 has led to the development and evolution of web-based communities, hosted services, and web applications. Examples include social-networking sites, video-sharing sites, wikis, blogs, mashups and folksonomies. These types of modern web-applications rely more and more on code executed client-side, on the browser. The only language supported out-of-the-box in modern web browsers to write client-side code (without installing any 3rd

party browser plugin or add-ons such as the Adobe Flash Player) is the JavaScript language.

Modern web applications rely heavily on JavaScript. There is an increasing trend in the web application area where a large percentage of the total code base is running on the browser side and written in JavaScript.

JavaScript is a language that was initially designed in the mid-1990s to write basic and small scripts on web pages (for example: image hover animation, alert popup, simple form validation, etc). As such, JavaScript does not provide built-in features related to software quality required to build modern web applications relying on a large client-side code base. In particular, one of the missing features of the JavaScript language is the ability for logging and tracing the execution of code.

Brief description of invention

The invention disclosed in this publication provides a system and method to collect and manage the logs generated by the client-side application code (on the web browser) in a central location, so that the logs can be inspected at a later time by an administrator or other interested persons.

Additionally, the method disclosed provides the administrator with the capability to configure the logging level or other characteristics related to logging at run time. The method in this disclosure also deals with this problem by allowing an administrator to enable and configure the logs generated by a web application from a remote location for a specific client.

Finally, the present disclosure allows the correlation between log and trace statements stored in the central location and the web browser client that originally generated the statement. In the case of web application requiring authentication, a particular log statement can be correlated to a specific user.

Applications of the present invention can range from troubleshooting client-side issues after deployment of the application on customer site to tracking activity and interactions of the end-users within a web page.

Differences and evolution compared to prior art

1

Page 2 of 5

In the prior art, there are numerous solutions allowing to instrument the JavaScript code of a web application to generate log statement. However, they are designed to be used by the developers of the application, mainly to help debugging at development time. Existing solutions are very limited for logging the code in a production envi...