Skip to content

Commit 421f8d9

Browse files
committed
Fix tests
1 parent cb0ffee commit 421f8d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/build/docker/php/weblogs/symfony7x/src/Controller/AppController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public function logLibrary(Request $request): Response
334334
$record = ['message' => $msg];
335335
$rootSpan = \DDTrace\root_span();
336336
if ($rootSpan !== null) {
337-
$record['dd.trace_id'] = \DDTrace\trace_id();
337+
$record['dd.trace_id'] = \DDTrace\logs_correlation_trace_id();
338338
$record['dd.span_id'] = (string) $rootSpan->id;
339339
$record['dd.service'] = (string) (getenv('DD_SERVICE') ?: '');
340340
$record['dd.version'] = (string) (getenv('DD_VERSION') ?: '');

0 commit comments

Comments
 (0)