code: def remove(name, conf_file=default_conf):
      '''
      Remove log pattern from logadm
  
      CLI Example:
  
      .. code-block:: bash
  
        salt '*' logadm.remove myapplog
      '''
      command = "logadm -f {0} -r {1}".format(conf_file, name)
      result = __salt__['cmd.run_all'](command, python_shell=False)
      if result['retcode'] != 0:
          return dict(
              Error='Failure in removing log. Possibly already removed?',
              Output=result['stderr']
          )
      return dict(Result='Success'f remove(name, conf_file=default_conf):
      '''
      Remove log pattern from logadm
  
      CLI Example:
  
      .. code-block:: bash
  
        salt '*' logadm.remove myapplog
      '''
      command = "logadm -f {0} -r {1}".format(conf_file, name)
      result = __salt__['cmd.run_all'](command, python_shell=False)
      if result['retcode'] != 0:
          return dict(
              Error='Failure in removing log. Possibly already removed?',
              Output=result['stderr']
          )
      return dict(Result='Success')
docs: Remove log pattern from logadm
  
      CLI Example:
  
      .. code-block:: bash
  
        salt '*' logadm.remove myapplog