Electrical computers and digital processing systems: interprogra – Interprogram communication using message – Object oriented message
Reexamination Certificate
2000-10-27
2004-10-05
An, Meng-Al T. (Department: 2126)
Electrical computers and digital processing systems: interprogra
Interprogram communication using message
Object oriented message
C719S316000, C719S318000
Reexamination Certificate
active
06802067
ABSTRACT:
BACKGROUND OF THE INVENTION
The present invention is a computer software framework and method that provides a means to log messages to files, consoles, databases, and other destinations and combines the functions of log file formatting, message multicasting, message filtering, message severity processing and log file management.
Message logging is an example of a general application facility that is typically needed in development of software code and applications to assist with testing, debugging, trouble shooting, and the like. Computer applications typically log (e.g., write, display, send, etc.) messages to a variety of destinations such as files, screens/user displays, dialogs, databases, remote servers, consoles, and the like using various message formats. An enterprise-wide computing system typically has a number of separate computing systems linked together and hosting a variety of computer applications, leading to problems such as inability of applications to log to multiple destinations simultaneously and inconsistent message formatting for messages written to the same log. Thus, a need exists for a means to uniformly log messages across an enterprise-wide computing system to aid in the development and maintenance thereof. The current invention addresses this need by encapsulating message logging and related functions, thereby providing a uniform application programming interface (API) to the various applications and making the task of message logging much simpler from an application's perspective. The invention abstracts the concept of a log, thereby presenting a consistent API to developers regardless of the log file type (e.g., a file log, a console log, a group log, etc.).
SUMMARY OF THE INVENTION
The present invention discloses a message logging framework, comprising a log object created by a destination log class extending a log base class and the log base class implementing a log interface, wherein the log base class comprises a method for formatting a message and the destination log class comprises a method to log the formatted message to a destination log. In a preferred embodiment, the log base class further comprises a method for filtering the message by comparing a severity attribute of the message to a filter severity criterion, wherein a message that conforms to the filter severity criterion becomes a filtered message and is (or alternatively is not) logged to the destination log and a message that does not conform to the filter severity criterion becomes an unfiltered message and is logged to the destination log. The present invention also discloses a message logging framework, comprising a group log object created by a group log class extending a log collection class and implementing a log interface, wherein the group log class comprises a method to log a message to a plurality of destination logs. In a preferred group logging embodiment, each of the plurality of destination logs further comprises a log object created by a destination log class extending a log base class and the log base class implementing a log interface, wherein the log base class comprises a method for formatting the message and the destination log class comprises a method to log the formatted message to the destination log.
The present invention further discloses a method for logging a message, comprising forming a destination log object by a destination log class extending a log base class and the log base class implementing a log interface; formatting the message; and logging the formatted message to a destination log via the destination log object. In a preferred embodiment, the logging method further comprises filtering the message by comparing a severity attribute of the message to a filter severity criterion, wherein a message that conforms to the filter severity criterion becomes a filtered message and is (or alternatively is not) logged to the destination log and a message that does not conform to the filter severity criterion becomes an unfiltered message and is logged to the destination log. The present invention also discloses a method for logging a message, comprising forming a group log object by a group log class extending a log collection class and implementing a log interface; and logging the message to a plurality of destination logs via the group log object. In a preferred group logging embodiment, the method further comprises forming a destination log object by a destination log class extending a log base class and the log base class implementing a log interface; formatting the message; and logging the formatted message to the destination log via the destination log object.
REFERENCES:
patent: 5913922 (1999-06-01), Dinnis et al.
patent: 6122675 (2000-09-01), Fisher et al.
patent: 6144967 (2000-11-01), Nock
patent: 6349333 (2002-02-01), Panikatt et al.
patent: 6470388 (2002-10-01), Niemi et al.
Nackman et al., Base-Class Composition with Multiple Derivation and Virtual Bases, USENIX Sixth C++ Techincal conference, Apr. 11-14, 1994, pp. 1-16.*
IBM, Log and Loggable Object Abstractions for Recovery Management, IBM Technical Disclosure Bulletin, Oct. 1995, vol. 38, pp. 87-88.*
Pattern 2: Message Logging Framework, Company: Athens Architectural Components, Internet Address: www.isaserv.com/technology/athens/Pattern2.html.
Camp Brandon
Ibitayo Kemi
Issa Philip
Xu Connie
An Meng-Al T.
Cao Diem
Sprint Communications Company L.P.
LandOfFree
Computer software framework and method for logging messages does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Computer software framework and method for logging messages, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Computer software framework and method for logging messages will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-3265578