def manage(options)
      # Initialize configuration directory setting
      AgentConfig.cfg_dir = options[:cfg_dir]

      # Determine command
      level = options[:level]
      command = { :name => (level ? 'set_log_level' : 'get_log_level') }
      command[:level] = level.to_sym if level

      # Determine candidate agents
      agent_names = if options[:agent_name]
        [options[:agent_name]]
      else
        AgentConfig.cfg_agents
      end
      fail("No agents configured") if agent_names.empty?

      # Perform command for each agent
      count = 0
      agent_names.each do |agent_name|
        count += 1 if request_log_level(agent_name, command, options)
      end
      puts("No agents running") if count == 0
      true
    end
def manage(options)
      # Initialize configuration directory setting
      AgentConfig.cfg_dir = options[:cfg_dir]

      # Determine command
      level = options[:level]
      command = { :name => (level ? 'set_log_level' : 'get_log_level') }
      command[:level] = level.to_sym if level

      # Determine candidate agents
      agent_names = if options[:agent_name]
        [options[:agent_name]]
      else
        AgentConfig.cfg_agents
      end
      fail("No agents configured") if agent_names.empty?

      # Perform command for each agent
      count = 0
      agent_names.each do |agent_name|
        count += 1 if request_log_level(agent_name, command, options)
      end
      puts("No agents running") if count == 0
      true
    end
Handle log level request

 === Parameters
 options(Hash):: Command line options

 === Return
 true:: Always return true