def parse(settings, logfile = nil)
      settings.each do |key, value|
        if value.is_a?(Hash)
          logfile = Logmsg::LogFile.new(key)
          logfiles[key.to_sym] = logfile
          parse(value, logfile)
          logfile.register
        else
          logfile.public_send("#{key}=", value)
        end
      end
    end
def parse(settings, logfile = nil)
      settings.each do |key, value|
        if value.is_a?(Hash)
          logfile = Logmsg::LogFile.new(key)
          logfiles[key.to_sym] = logfile
          parse(value, logfile)
          logfile.register
        else
          logfile.public_send("#{key}=", value)
        end
      end
    end
Recursively parses the loaded settings and creating log file destinations
 @param [Hash] the loaded settings
 @param [LogFile] the logfile object
 @see Logmsg:LogFile
 @private