utilize static function variables in Common::log_message() to "cache" lo...

utilize static function variables in Common::log_message() to "cache" log threshold and Log library instance to minimize excessive function calls