Skip to content

Commit 98f101f

Browse files
authored
Use the same dir as app service (#2660)
~waiting for Function team to confirm~ confirmed
1 parent f39e9dc commit 98f101f

File tree

1 file changed

+3
-2
lines changed
  • agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/configuration

1 file changed

+3
-2
lines changed

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/configuration/Configuration.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,10 +608,11 @@ private static String getDefaultPath() {
608608
}
609609
return DEFAULT_NAME; // this will be relative to the directory where agent jar is located
610610
}
611-
if (DiagnosticsHelper.useAppSvcRpIntegrationLogging()) {
611+
if (DiagnosticsHelper.useAppSvcRpIntegrationLogging()
612+
|| DiagnosticsHelper.useFunctionsRpIntegrationLogging()) {
612613
return StatusFile.getLogDir() + "/" + DEFAULT_NAME;
613614
}
614-
// azure functions and azure spring cloud
615+
// azure spring cloud
615616
return DEFAULT_NAME;
616617
}
617618
}

0 commit comments

Comments
 (0)