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