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

provide ASIO handler tracking hooks backed by the mongo logger

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: