Author: pete.muir(a)jboss.org
Date: 2010-09-26 16:32:24 -0400 (Sun, 26 Sep 2010)
New Revision: 13778
Modified:
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/HttpServletEnvironmentProducer.java
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/ServletContextProducer.java
modules/servlet/trunk/pom.xml
Log:
update to JBoss Logger
Modified:
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/HttpServletEnvironmentProducer.java
===================================================================
---
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/HttpServletEnvironmentProducer.java 2010-09-26
20:31:17 UTC (rev 13777)
+++
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/HttpServletEnvironmentProducer.java 2010-09-26
20:32:24 UTC (rev 13778)
@@ -32,9 +32,9 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
+import org.jboss.logging.Logger;
import org.jboss.seam.servlet.event.qualifier.Destroyed;
import org.jboss.seam.servlet.event.qualifier.Initialized;
-import org.slf4j.Logger;
/**
* A manager for acquiring HTTP artifacts
@@ -55,14 +55,14 @@
protected void requestInitialized(@Observes @Initialized final ServletRequestEvent e)
{
- log.trace("Servlet request initialized with event #0", e);
+ log.tracev("Servlet request initialized with event #0", e);
request.set((HttpServletRequest) e.getServletRequest());
session.set(request.get().getSession());
}
protected void requestDestroyed(@Observes @Destroyed final ServletRequestEvent e)
{
- log.trace("Servlet request destroyed with event #0", e);
+ log.tracev("Servlet request destroyed with event #0", e);
}
@Produces
Modified:
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/ServletContextProducer.java
===================================================================
---
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/ServletContextProducer.java 2010-09-26
20:31:17 UTC (rev 13777)
+++
modules/servlet/trunk/impl/src/main/java/org/jboss/seam/servlet/http/ServletContextProducer.java 2010-09-26
20:32:24 UTC (rev 13778)
@@ -29,10 +29,10 @@
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
+import org.jboss.logging.Logger;
import org.jboss.seam.servlet.beanManager.ServletContextBeanManagerProvider;
import org.jboss.seam.servlet.event.qualifier.Destroyed;
import org.jboss.seam.servlet.event.qualifier.Initialized;
-import org.slf4j.Logger;
/**
*
@@ -55,7 +55,7 @@
protected void contextInitialized(@Observes @Initialized ServletContextEvent e)
{
- log.debug("Servlet context initialized with event #0", e);
+ log.debugv("Servlet context initialized with event #0", e);
servletContext = e.getServletContext();
servletContext.setAttribute(BeanManager.class.getName(), beanManager);
ServletContextBeanManagerProvider.setServletContext(servletContext);
@@ -63,7 +63,7 @@
protected void contextDestroyed(@Observes @Destroyed ServletContextEvent e)
{
- log.debug("Servlet context destroyed with event #0", e);
+ log.debugv("Servlet context destroyed with event #0", e);
servletContext = null;
}
Modified: modules/servlet/trunk/pom.xml
===================================================================
--- modules/servlet/trunk/pom.xml 2010-09-26 20:31:17 UTC (rev 13777)
+++ modules/servlet/trunk/pom.xml 2010-09-26 20:32:24 UTC (rev 13778)
@@ -59,6 +59,8 @@
<artifactId>weld-extensions</artifactId>
<version>1.0.0.Alpha2</version>
</dependency>
+
+
</dependencies>
</dependencyManagement>
@@ -101,6 +103,12 @@
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging</artifactId>
+ <version>3.0.0.Beta4</version>
+ <scope>provided</scope>
+ </dependency>
<!-- Test Dependencies -->
<dependency>
@@ -118,6 +126,7 @@
<artifactId>arquillian-weld-embedded</artifactId>
<scope>test</scope>
</dependency>
+
</dependencies>
<developers>
Show replies by date