generalized initialization of logging.  now requires each driver to call initialize_log() before a log function is used and setup_logging() after the global parameter file is read