To enable logging of OSPFv2 neighbor state changes, use the log-adjacency-changes command in router configuration mode. State changes are logged with INFORMATIONAL severity.
| Default | Adjacency state changes are logged, but without the detail option. |
| Format | log-adjacency-changes [detail] |
| Mode | OSPFv2 Router Configuration |
| Parameter | Description |
|---|---|
| detail | (Optional) When this keyword is specified, all adjacency state changes are logged. Otherwise, OSPF only logs transitions to FULL state and when a backwards transition occurs. |