summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_ase.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-12-26 18:45:25 +0100
committerChirag Shah <chirag@cumulusnetworks.com>2017-12-27 19:13:38 +0100
commit05ba78e4d9522ebc10bdd9312fb8c004feb3ea24 (patch)
treeb30896c07621d72939a3426c772f54d86e34ecf3 /ospfd/ospf_ase.c
parentMerge pull request #1551 from LabNConsulting/working/master/minor-perf (diff)
downloadfrr-05ba78e4d9522ebc10bdd9312fb8c004feb3ea24.tar.xz
frr-05ba78e4d9522ebc10bdd9312fb8c004feb3ea24.zip
ospfd: Set filter to unbound debug logs
Ticket:CM-19213 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_ase.c')
-rw-r--r--ospfd/ospf_ase.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c
index 2f1b27f0f..368987a2b 100644
--- a/ospfd/ospf_ase.c
+++ b/ospfd/ospf_ase.c
@@ -679,8 +679,9 @@ static int ospf_ase_calculate_timer(struct thread *t)
monotime(&stop_time);
- zlog_info("SPF Processing Time(usecs): External Routes: %lld\n",
- (stop_time.tv_sec - start_time.tv_sec) * 1000000LL
+ if (IS_DEBUG_OSPF_EVENT)
+ zlog_info("SPF Processing Time(usecs): External Routes: %lld\n",
+ (stop_time.tv_sec - start_time.tv_sec) * 1000000LL
+ (stop_time.tv_usec - start_time.tv_usec));
}
return 0;