Skip to content

Commit

Permalink
Rename log4j-thread-context modules to log4j-context-data (#4957)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Dec 21, 2021
1 parent 191a9a0 commit 88121c1
Show file tree
Hide file tree
Showing 18 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ testSets {
dependencies {
library("org.apache.logging.log4j:log4j-core:2.16.0")

implementation(project(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2.16:library-autoconfigure"))
implementation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.16:library-autoconfigure"))

testInstrumentation(project(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2.7:javaagent"))
testInstrumentation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.7:javaagent"))

testImplementation(project(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2-common:testing"))
testImplementation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2-common:testing"))
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@AutoService(InstrumentationModule.class)
public class Log4j2InstrumentationModule extends InstrumentationModule {
public Log4j2InstrumentationModule() {
super("log4j-thread-context", "log4j-thread-context-2.16");
super("log4j-context-data", "log4j-context-data-2.16");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ base.archivesName.set("${base.archivesName.get()}-autoconfigure")
dependencies {
library("org.apache.logging.log4j:log4j-core:2.16.0")

testImplementation(project(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2-common:testing"))
testImplementation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2-common:testing"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ muzzle {
dependencies {
library("org.apache.logging.log4j:log4j-core:2.7")

testInstrumentation(project(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2.16:javaagent"))
testInstrumentation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.16:javaagent"))

testImplementation(project(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2-common:testing"))
testImplementation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2-common:testing"))

latestDepTestLibrary("org.apache.logging.log4j:log4j-core:2.15.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@AutoService(InstrumentationModule.class)
public class Log4j27InstrumentationModule extends InstrumentationModule {
public Log4j27InstrumentationModule() {
super("log4j-thread-context", "log4j-thread-context-2.7");
super("log4j-context-data", "log4j-context-data-2.7");
}

@Override
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ include(":instrumentation:liberty:liberty:javaagent")
include(":instrumentation:liberty:liberty-dispatcher:javaagent")
include(":instrumentation:log4j:log4j-appender-1.2:javaagent")
include(":instrumentation:log4j:log4j-mdc-1.2:javaagent")
include(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2.7:javaagent")
include(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2.16:javaagent")
include(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2.16:library-autoconfigure")
include(":instrumentation:log4j:log4j-thread-context:log4j-thread-context-2-common:testing")
include(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.7:javaagent")
include(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.16:javaagent")
include(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.16:library-autoconfigure")
include(":instrumentation:log4j:log4j-context-data:log4j-context-data-2-common:testing")
include(":instrumentation:log4j:log4j-appender-2.16:javaagent")
include(":instrumentation:log4j:log4j-appender-2.16:library")
include(":instrumentation:logback:logback-appender-1.0:javaagent")
Expand Down

0 comments on commit 88121c1

Please sign in to comment.