This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
This is a full example showing the one line you need to add to log4j2.xml to enable New Relic Logs in Context. | |
Most of this file is stock - the only changes needed are shown below, flagged with comments. | |
--> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Configuration xmlns="http://logging.apache.org/log4j/2.0/config" | |
status="WARN" | |
<!-- New Relic Logs in Context - Add NR Log4J extension --> | |
packages="com.newrelic.logging.log4j2"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This is a full example showing the two lines you need to add to your Gradle file to enable New Relic Logs in Context. | |
// Most of this file is stock - the only changes needed shown below, flagged with comments. | |
// | |
description = 'Ad Service' | |
buildscript { | |
repositories { | |
mavenCentral() | |
mavenLocal() |