Skip to content

Commit

Permalink
Merge branch 'hf-1.0.2' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
lalmeras committed Mar 13, 2023
2 parents 542be0d + b1cec81 commit 57ac9e8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jul-helper-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.iglooproject.components</groupId>
<artifactId>igloo-logging</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>jul-helper-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jul-helper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.iglooproject.components</groupId>
<artifactId>igloo-logging</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>jul-helper</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion log4j2-jmx-helper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.iglooproject.components</groupId>
<artifactId>igloo-logging</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>log4j2-jmx-helper</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ public class Log4j2LoggingManagerListener implements ServletContextListener {

@Override
public void contextInitialized(ServletContextEvent sce) {
Log4j2LoggingManagerMBean.registerMBean();
mbeanObjectName = Log4j2LoggingManagerMBean.registerMBean();

LOGGER.info("jul-to-slf4j installed");
}

@Override
public void contextDestroyed(ServletContextEvent sce) {
Log4j2LoggingManagerMBean.unregisterMBean(mbeanObjectName);
if (mbeanObjectName != null) {
Log4j2LoggingManagerMBean.unregisterMBean(mbeanObjectName);
}
}

}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>org.iglooproject.components</groupId>
<artifactId>igloo-logging</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>pom</packaging>

<properties>
Expand Down

0 comments on commit 57ac9e8

Please sign in to comment.