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 2
2
3
3
import static java .nio .file .Files .readAllBytes ;
4
4
5
+ import datadog .environment .SystemProperties ;
5
6
import datadog .trace .api .Config ;
6
7
import datadog .trace .api .flare .TracerFlare ;
7
8
import java .io .File ;
@@ -45,7 +46,7 @@ public void prepareForFlare() {
45
46
String captureFilename =
46
47
"tracer" + "-" + Config .get ().getRuntimeId () + "-" + endMillis + ".log" ;
47
48
try {
48
- Path tempPath = Paths .get (System . getProperty ("java.io.tmpdir" ), captureFilename );
49
+ Path tempPath = Paths .get (SystemProperties . get ("java.io.tmpdir" ), captureFilename );
49
50
Path parentPath = tempPath .getParent ();
50
51
if (parentPath != null && !Files .isDirectory (parentPath )) {
51
52
Files .createDirectories (parentPath );
You can’t perform that action at this time.
0 commit comments