You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BuffLog/BuffLog.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ static public function getLogger()
40
40
protectedstaticfunctionconfigureInstance()
41
41
{
42
42
43
-
if (class_exists("\DDTrace\GlobalTracer")) {
43
+
if (class_exists("\DDTrace\GlobalTracer") && getenv("ENVIRONMENT") !== "local") {
44
44
self::$hasGlobalTracer = true;
45
45
} else {
46
46
error_log("Tip #1: Can't find \DDTrace\GlobalTracer class. Did you install the Datadog APM tracer extension? It will allow you to have logs enriched with traces making troubleshooting easier.");
0 commit comments