Project

General

Profile

Actions

Feature #3725

closed

Dispatcher logging

Added by Junxiao Shi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Management
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

In ndn::mgmt::Dispatcher, change std::clog logging statements to library logging facility macros.

Actions #1

Updated by Junxiao Shi over 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
Actions #2

Updated by Junxiao Shi over 7 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100

https://gerrit.named-data.net/3046 patchset1 does the change plus a few code style corrections.

I choose to use ndn.mgmt.Dispatcher as logging module name rather than only Dispatcher, because library logging facility can be used both inside and outside ndn-cxx, and a fully qualified name can avoid conflicts.

The effect of logging can be seen with: NDN_LOG=ndn.mgmt.Dispatcher=ALL build/unit-tests -t Mgmt/TestDispatcher/NotificationStream.

Actions #3

Updated by Junxiao Shi over 7 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF