OSPFv2 event logging can be configured, disabled, and re-enabled.
device# configure terminal
device(config)# router ospf
device(config-router-ospf-vrf-default-vrf)# no log all
The following example re-enables the logging of all OSPFv2 events.
device# configure terminal device(config)# router ospf device(config-router-ospf-vrf-default-vrf)# log all