# Logging (syslog)

# URL

frinx-logging:logging/interfaces/interface=

## OPENCONFIG YANG

[YANG models](https://github.com/FRINXio/openconfig/tree/master/logging/src/main/yang)

```javascript
{
    "interface": [
        {
            "interface-id": "",
            "config": {
                "interface-id": "",
                "enabled-logging-for-event": [
                    {
                        "event-name": "frinx-event-types:LINK_UP_DOWN"
                    }
                ]
            }
        }
    ]
}

# OS Configuration Commands

# Cisco IOS XR 5.3.4

# CLI

interface 
 logging events link-status
# Unit

Link to github : xr-unit

# Cisco IOS XR 6.2.3

# CLI

interface 
 logging events link-status
# Unit

Link to github : xr-unit

# Cisco IOS XR 6.6.1

# CLI

interface 
 logging events link-status
# Unit

Link to github : xr-unit