File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
dd-java-agent/agent-logging/src/main/java/datadog/trace/logging Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
33import static java .nio .file .Files .readAllBytes ;
44
5+ import datadog .environment .SystemProperties ;
56import datadog .trace .api .Config ;
67import datadog .trace .api .flare .TracerFlare ;
78import java .io .File ;
@@ -45,7 +46,7 @@ public void prepareForFlare() {
4546 String captureFilename =
4647 "tracer" + "-" + Config .get ().getRuntimeId () + "-" + endMillis + ".log" ;
4748 try {
48- Path tempPath = Paths .get (System . getProperty ("java.io.tmpdir" ), captureFilename );
49+ Path tempPath = Paths .get (SystemProperties . get ("java.io.tmpdir" ), captureFilename );
4950 Path parentPath = tempPath .getParent ();
5051 if (parentPath != null && !Files .isDirectory (parentPath )) {
5152 Files .createDirectories (parentPath );
You can’t perform that action at this time.
0 commit comments