Skip to content

Commit

Permalink
Merge pull request #4532 from newrelic/issue-4528
Browse files Browse the repository at this point in the history
fix(Logs in context for Java): Updated dependencies syntax
  • Loading branch information
x8a committed Oct 26, 2021
2 parents ea5ebc1 + f7690be commit eb3801f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ To enable logs in context for APM apps monitored by Java:

```
dependencies {
compile("com.newrelic.logging:dropwizard:2.0")
implementation("com.newrelic.logging:dropwizard:2.0")
}
```

Expand Down Expand Up @@ -144,7 +144,7 @@ To enable logs in context for APM apps monitored by Java:

```
dependencies {
compile("com.newrelic.logging:jul:2.0")
implementation("com.newrelic.logging:jul:2.0")
}
```

Expand Down Expand Up @@ -231,7 +231,7 @@ To enable logs in context for APM apps monitored by Java:

```
dependencies {
compile("com.newrelic.logging:log4j1:2.0")
implementation("com.newrelic.logging:log4j1:2.0")
}
```

Expand Down Expand Up @@ -329,7 +329,7 @@ To enable logs in context for APM apps monitored by Java:

```
dependencies {
<mark>compile("com.newrelic.logging:log4j2:2.0")</mark>
<mark>implementation("com.newrelic.logging:log4j2:2.0")</mark>
}
```

Expand Down Expand Up @@ -408,7 +408,7 @@ To enable logs in context for APM apps monitored by Java:

```
dependencies {
<mark>compile("com.newrelic.logging:logback:2.0")</mark>
<mark>implementation("com.newrelic.logging:logback:2.0")</mark>
}
```

Expand Down Expand Up @@ -567,7 +567,7 @@ To verify that you have configured the log appender correctly, run your applicat

If everything is configured correctly and your data is being forwarded to New Relic with the enriched metadata, your logs should now be emitted as JSON and contain `trace.id` and `span.id` fields. If you don't see log data in the UI, follow the [troubleshooting procedures](/docs/logs/log-management/troubleshooting/no-log-data-appears-ui/).

## What's next? [#what-next]
## What's next? [#whats-next]

After you set up APM logs in context, make the most of your logging data:

Expand Down

0 comments on commit eb3801f

Please sign in to comment.