Providing Dynamic Switching between Logging Methods for LAN NetView Fix
Original Publication Date: 1994-Apr-01
Included in the Prior Art Database: 2005-Mar-26
Disclosed is a method for dynamically switching between logging methods for LAN NetView Fix*.
Providing Dynamic Switching between Logging Methods for
a method for dynamically switching between logging
methods for LAN NetView Fix*.
to be a way for the user to change their logging
method from either "No Logging" or "ASCII" to "Log to Database"
without having to stop (and restart) the LAN NetView Fix product.
Events that occur on the LAN are not received by Fix when it is not
method" is a configurable parameter that can be
changed by the user at any time. The current configuration settings
are kept in a file on the Fix machine, and also in memory. Routines
are set up to query the values in memory. When event data is logged,
a logging routine is called to log the event. This routine checks
the value in memory that denotes the current logging method. If the
value is "No logging", the logging routine simply returns to the
caller. If the value is "ASCII", then the logging routine writes the
event data to an ASCII file (based on a configurable name). If the
ASCII file does not exist, a new one is created. If the value is
"Log to Database", then the logging routine attempts to store the
event data in an IBM Database Manager* database.
logging method has just been changed to "Log to
Database", the database and tables needed to store the data may not
exist. Some amount of time is needed to create the database and
tables, during which events can occur o...