Skip to content

Commit 0db2580

Browse files
committed
Updates
1 parent 4288361 commit 0db2580

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

articles/azure-monitor/app/java-spring-boot.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,19 @@ public class SpringBootApp {
8484
> as sources for Application Insights Java configuration.
8585
8686
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.
8888

89-
By default, the configuration file `applicationinsights.json` is read from the classpath.
89+
#### Configuration file location
9090

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.
9393

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.
9696

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
9898

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).
100101

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

Comments
 (0)