Skip to content

Commit

Permalink
Merge pull request #40442 from yrodiere/disable-logging-feature-bugfix
Browse files Browse the repository at this point in the history
Fix DisableLoggingFeature for JBoss Threads/Hibernate/Infinispan/Websocket-client
  • Loading branch information
yrodiere authored May 6, 2024
2 parents 251439e + 554ae55 commit 5587d79
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
public void afterAnalysis(AfterAnalysisAccess access) {
for (String category : CATEGORIES) {
Level level = categoryMap.remove(category);
if (level != null) {
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
Logger logger = Logger.getLogger(category);
logger.setLevel(level);
}
}

Expand Down

0 comments on commit 5587d79

Please sign in to comment.