logback-dev
Threads by month
- ----- 2025 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
January 2007
- 6 participants
- 258 discussions

svn commit: r1238 - in logback/trunk: . log4j-bridge logback-access logback-classic logback-core src/main/assembly
by noreply.seb@qos.ch 16 Jan '07
by noreply.seb@qos.ch 16 Jan '07
16 Jan '07
Author: seb
Date: Tue Jan 16 20:12:49 2007
New Revision: 1238
Modified:
logback/trunk/log4j-bridge/pom.xml
logback/trunk/logback-access/pom.xml
logback/trunk/logback-classic/pom.xml
logback/trunk/logback-core/pom.xml
logback/trunk/pom.xml
logback/trunk/src/main/assembly/dist.xml
Log:
Added automated translation of the jdk15 classes into jdk14 jars, with verification.
Modified: logback/trunk/log4j-bridge/pom.xml
==============================================================================
--- logback/trunk/log4j-bridge/pom.xml (original)
+++ logback/trunk/log4j-bridge/pom.xml Tue Jan 16 20:12:49 2007
@@ -36,5 +36,59 @@
<artifactId>logback-classic</artifactId>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bundle-test-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>
+ <directory>${project.build.outputDirectory}</directory>
+ </include>
+ </includes>
+ <destjar>target/${artifactId}-${project.version}-jdk14.jar</destjar>
+ <verify>true</verify>
+ <failonwarning>false</failonwarning>
+ <verifyClasspath>
+ <element>${path.to.rt.jar}</element>
+ </verifyClasspath>
+ </configuration>
+ </execution>
+ </executions>
+ <!-- dependencies>
+ <dependency>
+ <groupId>net.sf.retrotranslator</groupId>
+ <artifactId>retrotranslator-runtime</artifactId>
+ <version>1.0.8</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies -->
+ </plugin>
+
+ </plugins>
+ </build>
</project>
\ No newline at end of file
Modified: logback/trunk/logback-access/pom.xml
==============================================================================
--- logback/trunk/logback-access/pom.xml (original)
+++ logback/trunk/logback-access/pom.xml Tue Jan 16 20:12:49 2007
@@ -109,6 +109,55 @@
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bundle-test-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>
+ <directory>${project.build.outputDirectory}</directory>
+ </include>
+ </includes>
+ <destjar>target/${artifactId}-${project.version}-jdk14.jar</destjar>
+ <verify>true</verify>
+ <failonwarning>false</failonwarning>
+ <verifyClasspath>
+ <element>${path.to.rt.jar}</element>
+ </verifyClasspath>
+ </configuration>
+ </execution>
+ </executions>
+ <!-- dependencies>
+ <dependency>
+ <groupId>net.sf.retrotranslator</groupId>
+ <artifactId>retrotranslator-runtime</artifactId>
+ <version>1.0.8</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies -->
+ </plugin>
+
</plugins>
</build>
Modified: logback/trunk/logback-classic/pom.xml
==============================================================================
--- logback/trunk/logback-classic/pom.xml (original)
+++ logback/trunk/logback-classic/pom.xml Tue Jan 16 20:12:49 2007
@@ -1,139 +1,176 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-parent</artifactId>
- <version>0.8.1-SNAPSHOT</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>0.8.1-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>Logback Classic Module</name>
-
- <url>http://logback.qos.ch</url>
- <description>
- <!--
- Never _never_ let Eclipse's auto format function add
- a line return in the description.
- The generated jar will contain a corrupt MANIFEST file.
- -->
- Logback: the generic, reliable, fast and flexible logging library for Java.
- </description>
- <licenses>
- <license>
- <name> GNU Lesser General Public License</name>
- <url>http://www.gnu.org/licenses/lgpl.html</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>janino</groupId>
- <artifactId>janino</artifactId>
- </dependency>
-
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.jms</groupId>
- <artifactId>jms</artifactId>
- <scope>compile</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>bundle-test-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkMode>once</forkMode>
- <reportFormat>plain</reportFormat>
- <trimStackTrace>false</trimStackTrace>
- <excludes>
- <exclude>**/AllTest.java</exclude>
- <exclude>**/PackageTest.java</exclude>
- <exclude>**/SerializationPerfsTest.java</exclude>
- <exclude>**/LoggerPerfTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
-
-
- <testResources>
- <testResource>
- <directory>src/test/input</directory>
- <targetPath>input</targetPath>
- </testResource>
- <testResource>
- <directory>src/test/resources</directory>
- <targetPath>/</targetPath>
- </testResource>
- </testResources>
- </build>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-parent</artifactId>
+ <version>0.8.1-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>0.8.1-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Logback Classic Module</name>
+
+ <url>http://logback.qos.ch</url>
+ <description>
+ <!--
+ Never _never_ let Eclipse's auto format function add
+ a line return in the description.
+ The generated jar will contain a corrupt MANIFEST file.
+ -->
+ Logback: the generic, reliable, fast and flexible logging library for Java.
+ </description>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License</name>
+ <url>http://www.gnu.org/licenses/lgpl.html</url>
+ </license>
+ </licenses>
+
+ <dependencies>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>janino</groupId>
+ <artifactId>janino</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ <scope>compile</scope>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bundle-test-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <reportFormat>plain</reportFormat>
+ <trimStackTrace>false</trimStackTrace>
+ <excludes>
+ <exclude>**/AllTest.java</exclude>
+ <exclude>**/PackageTest.java</exclude>
+ <exclude>**/SerializationPerfsTest.java</exclude>
+ <exclude>**/LoggerPerfTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>
+ <directory>${project.build.outputDirectory}</directory>
+ </include>
+ </includes>
+ <destjar>target/${artifactId}-${project.version}-jdk14.jar</destjar>
+ <verify>true</verify>
+ <failonwarning>false</failonwarning>
+ <verifyClasspath>
+ <element>${path.to.rt.jar}</element>
+ </verifyClasspath>
+ </configuration>
+ </execution>
+ </executions>
+ <!-- dependencies>
+ <dependency>
+ <groupId>net.sf.retrotranslator</groupId>
+ <artifactId>retrotranslator-runtime</artifactId>
+ <version>1.0.8</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies -->
+ </plugin>
+
+ </plugins>
+
+
+ <testResources>
+ <testResource>
+ <directory>src/test/input</directory>
+ <targetPath>input</targetPath>
+ </testResource>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <targetPath>/</targetPath>
+ </testResource>
+ </testResources>
+ </build>
</project>
\ No newline at end of file
Modified: logback/trunk/logback-core/pom.xml
==============================================================================
--- logback/trunk/logback-core/pom.xml (original)
+++ logback/trunk/logback-core/pom.xml Tue Jan 16 20:12:49 2007
@@ -1,109 +1,144 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-parent</artifactId>
- <version>0.8.1-SNAPSHOT</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>0.8.1-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>Logback Core Module</name>
-
- <url>http://logback.qos.ch</url>
- <description>
- <!--
- Never _never_ let Eclipse's auto format function add
- a line return in the description.
- The generated jar will contain a corrupt MANIFEST file.
- -->
- Logback: the generic, reliable, fast and flexible logging library for Java.
- </description>
- <licenses>
- <license>
- <name> GNU Lesser General Public License</name>
- <url>http://www.gnu.org/licenses/lgpl.html</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>janino</groupId>
- <artifactId>janino</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.jms</groupId>
- <artifactId>jms</artifactId>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkMode>once</forkMode>
- <reportFormat>plain</reportFormat>
- <trimStackTrace>false</trimStackTrace>
- <excludes>
- <exclude>**/AllTest.java</exclude>
- <exclude>**/PackageTest.java</exclude>
- <exclude>**/SizeBasedRollingTest.java</exclude>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-parent</artifactId>
+ <version>0.8.1-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>0.8.1-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Logback Core Module</name>
+
+ <url>http://logback.qos.ch</url>
+ <description>
+ <!--
+ Never _never_ let Eclipse's auto format function add
+ a line return in the description.
+ The generated jar will contain a corrupt MANIFEST file.
+ -->
+ Logback: the generic, reliable, fast and flexible logging library for Java.
+ </description>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License</name>
+ <url>http://www.gnu.org/licenses/lgpl.html</url>
+ </license>
+ </licenses>
+
+ <dependencies>
+ <dependency>
+ <groupId>janino</groupId>
+ <artifactId>janino</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <reportFormat>plain</reportFormat>
+ <trimStackTrace>false</trimStackTrace>
+ <excludes>
+ <exclude>**/AllTest.java</exclude>
+ <exclude>**/PackageTest.java</exclude>
+ <exclude>**/SizeBasedRollingTest.java</exclude>
<exclude>**/TimeBasedRollingTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>bundle-test-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
-
- <testResources>
- <testResource>
- <directory>src/test/input</directory>
- <targetPath>input</targetPath>
- </testResource>
- <testResource>
- <directory>src/test/witness</directory>
- <targetPath>witness</targetPath>
- </testResource>
- </testResources>
-
- </build>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bundle-test-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>
+ <directory>${project.build.outputDirectory}</directory>
+ </include>
+ </includes>
+ <destjar>target/${artifactId}-${project.version}-jdk14.jar</destjar>
+ <verify>true</verify>
+ <failonwarning>false</failonwarning>
+ <verifyClasspath>
+ <element>${path.to.rt.jar}</element>
+ </verifyClasspath>
+ </configuration>
+ </execution>
+ </executions>
+ <!-- dependencies>
+ <dependency>
+ <groupId>net.sf.retrotranslator</groupId>
+ <artifactId>retrotranslator-runtime</artifactId>
+ <version>1.0.8</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies -->
+ </plugin>
+ </plugins>
+
+ <testResources>
+ <testResource>
+ <directory>src/test/input</directory>
+ <targetPath>input</targetPath>
+ </testResource>
+ <testResource>
+ <directory>src/test/witness</directory>
+ <targetPath>witness</targetPath>
+ </testResource>
+ </testResources>
+
+ </build>
</project>
\ No newline at end of file
Modified: logback/trunk/pom.xml
==============================================================================
--- logback/trunk/pom.xml (original)
+++ logback/trunk/pom.xml Tue Jan 16 20:12:49 2007
@@ -34,11 +34,22 @@
<version>3.8.1</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>net.sf.retrotranslator</groupId>
+ <artifactId>retrotranslator-runtime</artifactId>
+ <version>1.0.8</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
<properties>
<!-- slf4j.version property is used by setClasspath.cmd -->
<slf4j.version>1.1.0</slf4j.version>
+ <!--
+ This next variable should be declared either here or in
+ your maven_home/conf/settings.xml file
+ -->
+ <!-- <path.to.rt.jar>C:/j2sdk1.4.2_13/jre/lib/rt.jar</path.to.rt.jar> -->
</properties>
<dependencyManagement>
@@ -113,7 +124,7 @@
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
<version>1.1</version>
- </dependency>
+ </dependency>
</dependencies>
</dependencyManagement>
@@ -170,9 +181,7 @@
<configuration>
<downloadSources>true</downloadSources>
</configuration>
- </plugin>
-
-
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
@@ -183,7 +192,6 @@
</excludes>
</configuration>
</plugin>
-
</plugins>
</build>
@@ -286,22 +294,7 @@
<outputDirectory>target/dist/</outputDirectory>
</configuration>
</plugin>
-
-
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>
- https://svn.qos.ch/repos/logback/tags/
- </tagBase>
- <preparationGoals>
- clean, compile source:jar site, assembly:assembly
- </preparationGoals>
- <goals>
- site:deploy, deploy
- </goals>
- </configuration>
- </plugin>
+
</plugins>
</reporting>
Modified: logback/trunk/src/main/assembly/dist.xml
==============================================================================
--- logback/trunk/src/main/assembly/dist.xml (original)
+++ logback/trunk/src/main/assembly/dist.xml Tue Jan 16 20:12:49 2007
@@ -228,6 +228,38 @@
</includes>
</fileSet>
+ <!-- Module JDK14 JARs -->
+ <fileSet>
+ <directory>logback-core/target/</directory>
+ <outputDirectory>/jdk14/</outputDirectory>
+ <includes>
+ <include>logback-core-${project.version}-jdk14.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>logback-classic/target/</directory>
+ <outputDirectory>/jdk14/</outputDirectory>
+ <includes>
+ <include>logback-classic-${project.version}-jdk14.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>logback-access/target/</directory>
+ <outputDirectory>/jdk14/</outputDirectory>
+ <includes>
+ <include>logback-access-${project.version}-jdk14.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>log4j-bridge/target/</directory>
+ <outputDirectory>/jdk14/</outputDirectory>
+ <includes>
+ <include>log4j-bridge-${project.version}-jdk14.jar</include>
+ </includes>
+ </fileSet>
+
+
+
<!-- Website -->
<fileSet>
<directory>target/site</directory>
1
0
Author: seb
Date: Tue Jan 16 20:12:13 2007
New Revision: 1237
Modified:
logback-demo/trunk/ (props changed)
logback-demo/trunk/src/etc/logback-access.xml
Log:
on going work on the demo doc
Modified: logback-demo/trunk/src/etc/logback-access.xml
==============================================================================
--- logback-demo/trunk/src/etc/logback-access.xml (original)
+++ logback-demo/trunk/src/etc/logback-access.xml Tue Jan 16 20:12:13 2007
@@ -7,8 +7,32 @@
</layout>
</appender>
- <!-- PART VII: Lottery
- <appender name="SMTP"
+ <!-- PART VII: Lottery -->
+ <appender name="STDOUT_LOTTERY"
+ class="ch.qos.logback.core.ConsoleAppender">
+ <filter class="ch.qos.logback.core.filter.EvaluatorFilter">
+ <evaluator name="lotto_eval">
+ <Expression>
+ url.matches(request.getRequestURL().toString())
+ </Expression>
+ <matcher name="url">
+ <regex>Lottery.do</regex>
+ <caseSensitive>false</caseSensitive>
+ </matcher>
+ </evaluator>
+ <OnMatch>ACCEPT</OnMatch>
+ <OnMismatch>DENY</OnMismatch>
+ </filter>
+ <layout class="ch.qos.logback.access.PatternLayout">
+ <Pattern>
+ LOTTO: %A [%r] Guess=%reqParameter{guessed_number}
+ </Pattern>
+ </layout>
+ </appender>
+
+
+ <!--
+ <appender name="SMTP"
class="ch.qos.logback.access.net.SMTPAppender">
<layout class="ch.qos.logback.access.html.HTMLLayout">
<Pattern>%h%l%u%t%r%s%b</Pattern>
@@ -23,30 +47,9 @@
<To>sebastien(a)qos.ch</To>
<To>ceki.gulcu(a)gmail.com</To>
</appender>
-
- <appender name="STDOUT_LOTTERY"
- class="ch.qos.logback.core.ConsoleAppender">
- <filter class="ch.qos.logback.core.filter.EvaluatorFilter">
- <evaluator name="lotto_eval">
- <Expression>
- url.matches(request.getRequestURL().toString())
- </Expression>
- <matcher name="url">
- <regex>lotto.do</regex>
- <caseSensitive>false</caseSensitive>
- </matcher>
- </evaluator>
- <OnMatch>ACCEPT</OnMatch>
- <OnMismatch>DENY</OnMismatch>
- </filter>
- <layout class="ch.qos.logback.access.PatternLayout">
- <Pattern>
- LOTTO: %A [%r] Guess=%reqParameter{guessed_number}
- </Pattern>
- </layout>
- </appender>
-->
+
<!-- Part VIII: JMX
<filter class="ch.qos.logback.access.filter.CountingFilter">
<name>countingFilter</name>
@@ -55,8 +58,9 @@
<appender-ref ref="STDOUT" />
- <!-- PART VII: Lottery
- <appender-ref ref="SMTP" />
+ <!-- PART VII: Lottery -->
<appender-ref ref="STDOUT_LOTTERY" />
- -->
+
+
+ <!-- <appender-ref ref="SMTP" /> -->
</configuration>
\ No newline at end of file
1
0
Online report : http://localhost:8090/continuum/servlet/continuum/target/ProjectBuild.vm/vi…
Build statistics:
State: Ok
Previous State: Failed
Started at: Tue, 16 Jan 2007 18:20:19 +0100
Finished at: Tue, 16 Jan 2007 18:20:36 +0100
Total time: 17s
Build Trigger: Schedule
Exit code: 0
Building machine hostname: pixie
Operating system : Linux(unknown)
Java version : 1.5.0_08(Sun Microsystems Inc.)
Changes
ceki If we can copy the HttpRequest inputStream, we can obtain the post information
/logback/trunk/logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Logback Access Module
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/classes
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 55 source files to /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 22 source files to /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running ch.qos.logback.access.db.DBAppenderTest
[Server@3c6f579]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@3c6f579]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@3c6f579]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@3c6f579]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@3c6f579]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@3c6f579]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@4998a455]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@4998a455]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@4998a455]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@4998a455]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@4998a455]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@4998a455]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@7b112783]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@7b112783]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@7b112783]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@7b112783]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@7b112783]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@7b112783]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@63238bd2]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@63238bd2]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@63238bd2]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@63238bd2]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@63238bd2]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@63238bd2]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.932 sec
Running ch.qos.logback.access.jetty.JettyBasicTest
2007-01-16 18:20:34.289::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2007-01-16 18:20:34.412::INFO: jetty-6.0.x
2007-01-16 18:20:34.475::INFO: Started SelectChannelConnector @ 0.0.0.0:1234
16/01/2007:18:20:34 +0100 localhost 127.0.0.1
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.371 sec
Running ch.qos.logback.access.filter.AccessStatsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running ch.qos.logback.access.pattern.ConverterTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running ch.qos.logback.access.filter.StatsByDayTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running ch.qos.logback.access.net.URLEvaluatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running ch.qos.logback.access.net.SocketAppenderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.13 sec
Results :
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar: /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/logback-access-0.8.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar: /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/logback-access-0.8.1-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/logback-access-0.8.1-SNAPSHOT.jar to /root/.m2/repository/ch/qos/logback/logback-access/0.8.1-SNAPSHOT/logback-access-0.8.1-SNAPSHOT.jar
[INFO] Installing /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/logback-access-0.8.1-SNAPSHOT-sources.jar to /root/.m2/repository/ch/qos/logback/logback-access/0.8.1-SNAPSHOT/logback-access-0.8.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Tue Jan 16 18:20:36 CET 2007
[INFO] Final Memory: 16M/114M
[INFO] ------------------------------------------------------------------------
****************************************************************************
1
0

svn commit: r1236 - logback/trunk/logback-site/src/site/xdocTemplates
by noreply.seb@qos.ch 16 Jan '07
by noreply.seb@qos.ch 16 Jan '07
16 Jan '07
Author: seb
Date: Tue Jan 16 18:18:28 2007
New Revision: 1236
Modified:
logback/trunk/logback-site/src/site/xdocTemplates/demo.xml
Log:
updates to demo doc
Modified: logback/trunk/logback-site/src/site/xdocTemplates/demo.xml
==============================================================================
--- logback/trunk/logback-site/src/site/xdocTemplates/demo.xml (original)
+++ logback/trunk/logback-site/src/site/xdocTemplates/demo.xml Tue Jan 16 18:18:28 2007
@@ -25,12 +25,12 @@
<div class="source"><pre>svn co http://svn.qos.ch/repos/logback-demo logback-demo</pre></div>
<p>
- This will checkout a copy of the logback demonstration web-app to a directory called
- <em>logback-demo</em>. The logback demo can be packaged as a <em>war</em> file and
- deployed to an application server. We strongly recommand the use of
- <a href="http://maven.apache.org/">Maven 2</a> to do this
- task, since all it will take to compile, package and run a server with the demo is
- a single command.
+This will checkout a copy of the logback demonstration web-app to a directory called
+<em>logback-demo</em>. The logback demo can be packaged as a <em>war</em> file and
+deployed to an application server. We strongly recommand the use of
+<a href="http://maven.apache.org/">Maven 2</a> to do this
+task, since all it will take to compile, package and run a server with the demo is
+a single command.
</p>
<p>
@@ -47,22 +47,24 @@
<p>image main page</p>
<p>
- For now, logback uses two components: one <code>ConsoleAppender</code> and one
- <code>RollingFileAppender</code>. The <code>RollingFileAppender</code> sends logging events
- to a file called <em>logFile.log</em> and will rollover
- the active file every minute. The old file will be renamed and compressed using the <em>zip</em>
- format. The <code>ConsoleAppender</code> will output the logging requests to the console,
- and shorten the logger names to gain some space in the console window, without making the
- names unreadable.
+For now, logback uses two components: one <code>ConsoleAppender</code> and one
+<code>RollingFileAppender</code>. The <code>RollingFileAppender</code> sends logging events
+to a file called <em>logFile.log</em> and will rollover
+the active file every minute. The old file will be renamed and compressed using the <em>zip</em>
+format. The <code>ConsoleAppender</code> will output the logging requests to the console,
+and shorten the logger names to gain some space in the console window, without making the
+names unreadable. You can study the configuration file that is used by editing the
+file called <em>logback.xml</em>, located in the <em>src/main/resources/</em> directory
+of the demo.
</p>
<p>
- Let's now visit the <em>ViewStatii</em> page, via the navigation menu on the left hand
- of the screen. This page contains the content of the <code>Status</code> objects that were
- created until now. <code>Status</code> objects are a part of logback's powerful internal
- reporting framework. They allow you to see what is going on in logback, and check
- that a configuration file has been parsed correctly, or that a rollover has occured as
- expected.
+Let's now visit the <em>ViewStatii</em> page, via the navigation menu on the left hand
+of the screen. This page contains the content of the <code>Status</code> objects that were
+created until now. <code>Status</code> objects are a part of logback's powerful internal
+reporting framework. They allow you to see what is going on in logback, and check
+that a configuration file has been parsed correctly, or that a rollover has occured as
+expected.
</p>
<p>image statii page</p>
@@ -140,15 +142,106 @@
</p>
<p>
-Part V: Markers: add turbo filter for TRACE
+SLF4J allows the use of Marker objects.
+For example, one could use <em>TRACE</em> markers, to enrich some
+specific logging statements. On the other hand, one could want that such
+marked statements be dropped and not logged anywhere. <code>TurboFilter</code>
+objects can do that in an elegant and flexible way. Let us uncomment the
+<em>PART V: TurboFilter: Marker value</em> section in the <em>logback.xml</em> file,
+and reload via the <em>Reload configuration</em> page.
+</p>
+<p>
+The logging statements that contained the <em>Howdydy-diddly-ho</em> do
+not appear anymore because they were associated with a <em>TRACE</em> marker. You
+can check that by visiting the <em>View Logs</em> page.
+</p>
+
+<p>
+Access logging is another important feature offered by logback. The first
+step will be to simply read what appears on the console while
+browsing the logback-demo website. Each access is logged to the console,
+with some information about the access. To achieve this situation, we simply
+used a <code>ConsoleAppender</code> and a <code>PatternLayout</code>, just like
+we would do in a classic logging configuration. The configuration file
+that we will edit in the next few steps is called <em>logback-access.xml</em>
+and is located in the <em>src/etc/</em> directory.
+The necessary configuration is listed below:
+</p>
+
+<div class="source"><pre><configuration>
+
+ <appender name="STDOUT"
+ class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.access.PatternLayout">
+ <Pattern>%h %l %u %t \"%r\" %s %b</Pattern>
+ </layout>
+ </appender>
+
+ <appender-ref ref="STDOUT" />
+
+</configuration></pre></div>
+
+<p>
+In this next part, we are going to add some information to the console.
+Let us imagine that we want to log the numbers that are tried on the
+<em>Lottery</em> page. We will need a second <code>ConsoleAppender</code>
+that will only print a given information (e.g. the guessed number, along
+with some hints about the player). The appender will also have to
+print that information only when a certain page is accessed.
+</p>
+
+<p>
+The configuration lines that are necessary are listed below.
+</p>
+
+<div class="source"><pre><appender name="STDOUT_LOTTERY"
+ class="ch.qos.logback.core.ConsoleAppender">
+ <filter class="ch.qos.logback.core.filter.EvaluatorFilter">
+ <evaluator name="lotto_eval">
+ <Expression>
+ url.matches(request.getRequestURL().toString())
+ </Expression>
+ <matcher name="url">
+ <regex>lotto.do</regex>
+ <caseSensitive>false</caseSensitive>
+ </matcher>
+ </evaluator>
+ <OnMatch>ACCEPT</OnMatch>
+ <OnMismatch>DENY</OnMismatch>
+ </filter>
+ <layout class="ch.qos.logback.access.PatternLayout">
+ <Pattern>
+ LOTTO: %A [%r] Guess=%reqParameter{guessed_number}
+ </Pattern>
+ </layout>
+</appender></pre></div>
+
+<p>
+This appender will use a <code>PatternLayout</code> to format its output.
+The <em>%reqParameter</em> conversion word is used to extract the guessed number
+from the request, and print it.
+</p>
+<p>
+It also uses an <code>EvaluatorFilter</code> that will prevent the appender
+to display anything when the access' request url does not match the
+given expression. You can see that it is easy to specify a RegExp, name
+it and use it in the expression that will be evaluated. In that case, we only
+entered the name of the <em>lotto.do</em> action.
</p>
<p>
-Part VI: Access logs on the console
+Before shutting down the server and starting it again with the new configuration,
+you might want to comment the appender named <em>STDOUT</em>, as well as its
+<em>appender-ref</em> element, in the first logback configuration file, called
+<em>logback.xml</em> and located in <em>src/main/resources/</em>. It will clear
+the console from the logs made by the demo application and only display those
+that are generated by logback access.
</p>
+
+
<p>
-Part VII: SMTP and lottery
+ SMTP and
</p>
<p>
1
0

svn commit: r1235 - logback/trunk/logback-access/src/main/java/ch/qos/logback/access
by noreply.ceki@qos.ch 16 Jan '07
by noreply.ceki@qos.ch 16 Jan '07
16 Jan '07
Author: ceki
Date: Tue Jan 16 18:08:15 2007
New Revision: 1235
Modified:
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
Log:
If we can copy the HttpRequest inputStream, we can obtain the post information
Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java (original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/PatternLayout.java Tue Jan 16 18:08:15 2007
@@ -18,6 +18,7 @@
import ch.qos.logback.access.pattern.LocalIPAddressConverter;
import ch.qos.logback.access.pattern.LocalPortConverter;
import ch.qos.logback.access.pattern.NAConverter;
+import ch.qos.logback.access.pattern.PostContentConverter;
import ch.qos.logback.access.pattern.RemoteHostConverter;
import ch.qos.logback.access.pattern.RemoteIPAddressConverter;
import ch.qos.logback.access.pattern.RemoteUserConverter;
@@ -119,6 +120,9 @@
defaultConverterMap.put("reqParameter", RequestParameterConverter.class
.getName());
+ defaultConverterMap.put("post", PostContentConverter.class.getName());
+
+
defaultConverterMap.put("n", LineSeparatorConverter.class.getName());
}
1
0
Online report : http://localhost:8090/continuum/servlet/continuum/target/ProjectBuild.vm/vi…
Build statistics:
State: Failed
Previous State: Failed
Started at: Tue, 16 Jan 2007 17:40:18 +0100
Finished at: Tue, 16 Jan 2007 17:40:31 +0100
Total time: 13s
Build Trigger: Schedule
Exit code: 1
Building machine hostname: pixie
Operating system : Linux(unknown)
Java version : 1.5.0_08(Sun Microsystems Inc.)
Changes
ceki defend against null InputStream
/logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Logback Access Module
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/classes
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 55 source files to /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 22 source files to /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running ch.qos.logback.access.db.DBAppenderTest
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@7b1ddcde]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@7b1ddcde]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@624b035d]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@624b035d]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@624b035d]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@624b035d]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@624b035d]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@624b035d]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@2c76e369]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@2c76e369]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@54bb7759]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@54bb7759]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@54bb7759]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@54bb7759]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@54bb7759]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@54bb7759]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.838 sec <<< FAILURE!
Running ch.qos.logback.access.jetty.JettyBasicTest
2007-01-16 17:40:30.083::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2007-01-16 17:40:30.136::INFO: jetty-6.0.x
2007-01-16 17:40:30.190::INFO: Started SelectChannelConnector @ 0.0.0.0:1234
16/01/2007:17:40:30 +0100 localhost 127.0.0.1
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.215 sec
Running ch.qos.logback.access.filter.AccessStatsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running ch.qos.logback.access.pattern.ConverterTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running ch.qos.logback.access.filter.StatsByDayTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running ch.qos.logback.access.net.URLEvaluatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running ch.qos.logback.access.net.SocketAppenderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec
Results :
Tests run: 29, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Tue Jan 16 17:40:31 CET 2007
[INFO] Final Memory: 14M/144M
[INFO] ------------------------------------------------------------------------
****************************************************************************
1
0

svn commit: r1234 - logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi
by noreply.ceki@qos.ch 16 Jan '07
by noreply.ceki@qos.ch 16 Jan '07
16 Jan '07
Author: ceki
Date: Tue Jan 16 17:32:10 2007
New Revision: 1234
Modified:
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java
Log:
defend against null InputStream
Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java (original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java Tue Jan 16 17:32:10 2007
@@ -8,6 +8,9 @@
static final int BUF_SIZE= 128;
public static String readToString(InputStream in) throws IOException {
+ if(in == null) {
+ return null;
+ }
ByteArrayOutputStream baos = new ByteArrayOutputStream();
byte[] buf = new byte[BUF_SIZE];
int n = 0;
1
0
Online report : http://localhost:8090/continuum/servlet/continuum/target/ProjectBuild.vm/vi…
Build statistics:
State: Failed
Previous State: Failed
Started at: Tue, 16 Jan 2007 17:20:18 +0100
Finished at: Tue, 16 Jan 2007 17:20:31 +0100
Total time: 13s
Build Trigger: Schedule
Exit code: 1
Building machine hostname: pixie
Operating system : Linux(unknown)
Java version : 1.5.0_08(Sun Microsystems Inc.)
Changes
ceki Let us default to ALL when no keys are specified
/logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
ceki removed noisy System.out statements
/logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Logback Access Module
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/classes
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 55 source files to /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 22 source files to /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /opt/continuum-1.0.3/apps/continuum/working-directory/47/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running ch.qos.logback.access.db.DBAppenderTest
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@7b1ddcde]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@7b1ddcde]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@7b1ddcde]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendAccessEvent(DBAppenderTest.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
[Server@2aca0115]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@2aca0115]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@2aca0115]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@2aca0115]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@2aca0115]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@2aca0115]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@2c76e369]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@2c76e369]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@2c76e369]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testCheckNoHeadersAreInserted(DBAppenderTest.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendHeaders(DBAppenderTest.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
[Server@70ba9340]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@70ba9340]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@70ba9340]: [Thread[main,5,main]]: setDatabaseName(0,test)
[Server@70ba9340]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@70ba9340]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@70ba9340]: [Thread[main,5,main]]: setDatabasePath(0,mem:test;sql.enforce_strict_size=true)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.76 sec
Running ch.qos.logback.access.jetty.JettyBasicTest
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
java.lang.NullPointerException
at ch.qos.logback.access.spi.Util.readToString(Util.java:14)
at ch.qos.logback.access.spi.AccessEvent.getPostContent(AccessEvent.java:325)
at ch.qos.logback.access.db.DBAppender.addAccessEvent(DBAppender.java:98)
at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:74)
at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:90)
at ch.qos.logback.access.db.DBAppenderTest.testAppendMultipleEvents(DBAppenderTest.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
2007-01-16 17:20:30.188::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2007-01-16 17:20:30.256::INFO: jetty-6.0.x
2007-01-16 17:20:30.319::INFO: Started SelectChannelConnector @ 0.0.0.0:1234
16/01/2007:17:20:30 +0100 localhost 127.0.0.1
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.351 sec <<< FAILURE!
Running ch.qos.logback.access.filter.AccessStatsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running ch.qos.logback.access.pattern.ConverterTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running ch.qos.logback.access.filter.StatsByDayTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running ch.qos.logback.access.net.URLEvaluatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running ch.qos.logback.access.net.SocketAppenderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 sec
Results :
Tests run: 29, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Tue Jan 16 17:20:31 CET 2007
[INFO] Final Memory: 14M/144M
[INFO] ------------------------------------------------------------------------
****************************************************************************
1
0

svn commit: r1233 - logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi
by noreply.ceki@qos.ch 16 Jan '07
by noreply.ceki@qos.ch 16 Jan '07
16 Jan '07
Author: ceki
Date: Tue Jan 16 17:14:47 2007
New Revision: 1233
Modified:
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java
Log:
removed noisy System.out statements
Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java (original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/Util.java Tue Jan 16 17:14:47 2007
@@ -14,7 +14,6 @@
while( (n = in.read(buf, 0, BUF_SIZE)) != -1) {
baos.write(buf, 0, n);
}
-
return baos.toString();
}
}
1
0

svn commit: r1232 - logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi
by noreply.ceki@qos.ch 16 Jan '07
by noreply.ceki@qos.ch 16 Jan '07
16 Jan '07
Author: ceki
Date: Tue Jan 16 17:04:44 2007
New Revision: 1232
Modified:
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
Log:
Let us default to ALL when no keys are specified
Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java (original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java Tue Jan 16 17:04:44 2007
@@ -212,7 +212,7 @@
return httpRequest.getHeaderNames();
}
- public Map<String, String> requestHeaderMap() {
+ public Map<String, String> getRequestHeaderMap() {
if(requestHeaderMap == null) {
buildRequestHeaderMap();
}
1
0