Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

tracing: Hide trace messages unless tracing enabled #483

Merged

Commits on Mar 15, 2019

  1. tracing: Hide trace messages unless tracing enabled

    Don't log trace-related messages unless tracing is actually enabled. If
    tracing is not enabled, trace spans are still created, but the tracer is
    a NOP. However, this is an implementation detail the user does not need
    to be aware of so hide trace logs unless the user has enabled tracing
    explicitly.
    
    Fixes kata-containers#482.
    
    Signed-off-by: James O. D. Hunt <[email protected]>
    jodh-intel committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    6bd0f7c View commit details
    Browse the repository at this point in the history