Commit Graph

9 Commits

Author SHA1 Message Date
24b2c837eb Prevent non-error logs being fatal if logging not initialised 2011-08-21 16:10:55 +01:00
2781b63b68 Bug fixes to reduce logging-related crashes
* Provide a method for plugins to report failure to initialise
* Check plugins initialised properly before adding to list of logging
backends
* Check the logger is available before trying to log a message
(might cause bugs if errors are logged very early in initialisation)
2011-08-20 11:34:29 +01:00
294679567f Fix bug following hostname/progname alterations 2011-08-07 15:52:50 +01:00
87b0789137 Fix log handling of hostname and progname
Log classes previously assumed all logs to be sourced from the local
machine with no program name set. This change adds support to read/set
the program name, and ensures the hostname/program name are properly
tracked into and out of the database.
2011-08-06 14:49:11 +01:00
e2648d4c08 Add custom error handler to log through new logging code 2011-04-25 00:43:46 +01:00
e343457d43 Files missed from previous commit 2011-04-24 11:16:36 +01:00
e1cb31e5ca Refactor of logging code to suport multiple log engines 2011-04-24 10:37:15 +01:00
177ed337b0 Modifications to make RippingCluster code work 2011-04-21 23:33:21 +01:00
81521eae5f Updates framework to support automated framework subclasses
All framework classes have been renamed to use the SihnonFramework_ prefix.
The class autoloader now looks for subclasses of the framework classes in the Sihnon_Lib directory, and
automatically creates them if they don't exist. The autoloader correctly creates interfaces and abstract
classes as needed, by using reflection to check the type of the parent class.
All references to classes within the framework now use the Sihnon_ prefix.
The PluginFactory supports multiple scan directories, and will search both the framework and subclass class
tree to find candidate plugins.
2010-10-10 18:32:16 +01:00