×

Distributed plug-and-play logging services

  • US 7,716,017 B2
  • Filed: 08/16/2002
  • Issued: 05/11/2010
  • Est. Priority Date: 08/16/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • in a data processing system having a processor and a memory, the memory storing a program, the processor executing the program to perform the steps of;

    reading a configuration file to determine a first destination for sending logging information;

    sending the logging information to the first destination;

    generating additional logging information;

    determining whether the configuration file has been updated to indicate a new destination instead of the first destination;

    obtaining a log object for sending the log information to the first destination;

    obtaining a manager object for reading the configuration file;

    when the configuration file has not been updated to indicate the new destination,sending the additional logging information to the first destination;

    when the configuration file has been updated to indicate the new destination,prior to sending the additional logging information to the new destination,notifying the manager object that the configuration file has been updated;

    the manager object reading the configuration file to determine the new destination for sending the logging information;

    notifying the log object to obtain an identity of the new destination from the manager object;

    obtaining at the log object the identity of the new destination from the manager object; and

    the log object replacing its current logging implementation wrapper that corresponds to the first destination with a new logging implementation wrapper that corresponds to the new destination; and

    sending the additional logging information to the new destination,wherein determining whether the configuration file has been updated includes a watchdog timer repeatedly monitoring the configuration file, at a predetermined time interval, to check a date and time of the configuration file and to determine whether the configuration file has changed for an update of the configuration file at a predetermined time interval.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×