**SUMMARY**
```

While trying to configure 'logging facility local7'  on an Arista EOS switch, following commands are pushed into the switch:

['logging facility local7', 'logging None']

Expected is only 'logging facility local7'

Because of this the playbook is failing.

```

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
```

eos_logging.py

```

##### ANSIBLE VERSION
```
ansible 2.10.0.dev0
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/gosriniv/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/gosriniv/ansible/lib/ansible
  executable location = /home/gosriniv/ansible/bin/ansible
  python version = 3.6.5 (default, Sep  4 2019, 12:23:33) [GCC 9.0.1 20190312 (Red Hat 9.0.1-0.10)]
```

##### CONFIGURATION





##### OS / ENVIRONMENT

```

"Arista vEOS"
```

##### STEPS TO REPRODUCE

```
---
- hosts: eos
  gather_facts: false
  connection: network_cli

  tasks:
    - name: Set up logging facility
      eos_logging:
        facility: local7
      become: yes
      register: result

    - assert:
        that:
          - 'result.changed == true'
          - '"logging facility local7" in result.commands'


```


##### EXPECTED RESULTS

Expectation is that there should not be any failure

##### ACTUAL RESULTS

```
fatal: [10.8.38.31]: FAILED! => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python"
    },
    "changed": false,
    "data": "logging None\r\n% Invalid input\r\nfoo(config-s-ansibl)#",
    "invocation": {
        "module_args": {
            "aggregate": null,
            "auth_pass": null,
            "authorize": null,
            "dest": null,
            "facility": "local7",
            "host": null,
            "level": null,
            "name": null,
            "password": null,
            "port": null,
            "provider": null,
            "size": null,
            "ssh_keyfile": null,
            "state": "present",
            "timeout": null,
            "transport": null,
            "use_ssl": null,
            "username": null,
            "validate_certs": null
        }
    },
    "msg": "logging None\r\n% Invalid input\r\nfoo(config-s-ansibl)#"
}


```

- { dest: console, level: warnings }
      - { dest: buffered, size: 480000 }
    state: present
"""
RETURN = """
commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  type: list
  sample:
    - logging facility local7
    - logging host 172.16.0.1
"""
import re
from copy import deepcopy
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.network.common.utils import remove_default_spec
from ansible.module_utils.network.eos.eos import get_config, load_config
from ansible.module_utils.network.eos.eos import eos_argument_spec
DEST_GROUP = ['on', 'host', 'console', 'monitor', 'buffered']
LEVEL_GROUP = ['emergencies', 'alerts', 'critical', 'errors',
               'warnings', 'notifications', 'informational',
               'debugging']
def validate_size(value, module):
    if value:
        if not int(10) <= value <= int(2147483647):
            module.fail_json(msg='size must be between 10 and 2147483647')
        else:
            return value
def map_obj_to_commands(updates, module):