@@ -84,22 +84,19 @@ public class SpringBootApp {
84
84
> as sources for Application Insights Java configuration.
85
85
86
86
Programmatic enablement supports all the same [ configuration options] ( ./java-standalone-config.md )
87
- as the JVM argument enablement, with the following differences:
87
+ as the JVM argument enablement, with the following differences below.
88
88
89
- By default, the configuration file ` applicationinsights.json ` is read from the classpath.
89
+ #### Configuration file location
90
90
91
- You can also place the ` applicationinsights.json ` outside of your spring boot jar and specify
92
- the file path using either
91
+ By default, when enabling Application Insights Java programmatically, the configuration file ` applicationinsights.json `
92
+ will be read from the classpath.
93
93
94
- * ` APPLICATIONINSIGHTS_CONFIGURATION_FILE ` environment variable, or
95
- * ` applicationinsights.configuration.file ` Java system property
94
+ See [ configuration file path configuration options ] ( ./java-standalone-config.md#configuration-file-path )
95
+ to change this location.
96
96
97
- If you specify a relative path, it will be resolved relative to the directory from where the JVM is launched (user directory).
97
+ #### Self-diagnostic log file location
98
98
99
- ### Self-diagnostics
99
+ By default, when enabling Application Insights Java programmatically, the ` applicationinsights.log ` file containing
100
+ the agent logs will be located in the directory from where the JVM is launched (user directory).
100
101
101
- By default, the ` applicationinsights.log ` file containing the agent logs is located in the directory
102
- from where the JVM is launched (user directory).
103
-
104
- See [ self-diagnostic configuration options] ( ./java-standalone-config.md#self-diagnostics )
105
- for how to change this location and other self-diagnostics configuration options.
102
+ See [ self-diagnostic configuration options] ( ./java-standalone-config.md#self-diagnostics ) to change this location.
0 commit comments