# ospf log-adjacency-changes

#### Syntax

[ no ] ospf log-adjacency-changes
[ severity { severityValue | severityNumber } ] [ verbosity verbosityLevel ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Configures the router to send a system log message when the state of an OSPFv2 neighbor changes. For OSPFv3 neighbors, use the log-adjacency-changes command. The no version turns off this feature.

#### Options

- severity—Minimum severity of the log messages displayed for the selected category; described either by a descriptive term—severityValue—or by a corresponding number—severityNumber—in the range 0–7; the lower the number, the higher the priority:
  - emergency or 0—System unusable
  - alert or 1—Immediate action needed
  - critical or 2—Critical condition exists
  - error or 3—Error condition
  - warning or 4—Warning condition
  - notice or 5—Normal but significant condition
  - info or 6—Informational message
  - debug or 7—Debug message
- verbosityLevel—Specifies the verbosity of the log category’s messages; can be any of the following:
  - low—Terse
  - medium—Moderate detail
  - high—Verbose

#### Mode

Router Configuration