diff --git a/ddtrace/__init__.py b/ddtrace/__init__.py index 554f1084765..e72c2928305 100644 --- a/ddtrace/__init__.py +++ b/ddtrace/__init__.py @@ -7,6 +7,7 @@ # Configuration for the whole tracer from file. Do it before anything else happens. from ddtrace.internal.config import PyConfigurator + configurator = PyConfigurator(debug_logs=False) configurator.set_envp(["%s=%s" % (k, v) for k, v in os.environ.items()]) configurator.set_args(sys.argv) diff --git a/ddtrace/internal/config/__init__.py b/ddtrace/internal/config/__init__.py index c8665b02968..b5688e3bd3d 100644 --- a/ddtrace/internal/config/__init__.py +++ b/ddtrace/internal/config/__init__.py @@ -1 +1 @@ -from ._config import PyConfigurator # noqa:F401 +from ._config import PyConfigurator # noqa:F401 diff --git a/ddtrace/internal/datadog/profiling/dd_wrapper/src/crashtracker.cpp b/ddtrace/internal/datadog/profiling/dd_wrapper/src/crashtracker.cpp index 267e15c87b1..5519489fc2b 100644 --- a/ddtrace/internal/datadog/profiling/dd_wrapper/src/crashtracker.cpp +++ b/ddtrace/internal/datadog/profiling/dd_wrapper/src/crashtracker.cpp @@ -208,7 +208,7 @@ Datadog::Crashtracker::start() auto result = ddog_crasht_init(config, receiver_config, metadata); ddog_Vec_Tag_drop(tags); if (result.tag != DDOG_VOID_RESULT_OK) { // NOLINT (cppcoreguidelines-pro-type-union-access) - auto err = result.err; // NOLINT (cppcoreguidelines-pro-type-union-access) + auto err = result.err; // NOLINT (cppcoreguidelines-pro-type-union-access) std::string errmsg = err_to_msg(&err, "Error initializing crash tracker"); std::cerr << errmsg << std::endl; ddog_Error_drop(&err);