Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19799

provide ASIO handler tracking hooks backed by the mongo logger

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Service Arch
    • Platform 8 08/28/15, Platform 9 (09/18/15)

      ASIO includes a useful feature that allows custom log hooks to be compiled in to track handler events such as creation, completion invocation start, and invocation end.

      The default implementation logs to std::cout, but there is a mechanism to allow custom hooks to be used by defining some macros (see handler_tracking.hpp).

      We should define ASIO_CUSTOM_HANDLER_TRACKING in debug builds, add log hooks at some verbosity level > 1, and probably add a new log component as it will be very, very chatty.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: