[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. 0a9c28e40bfc48a91a097776c970cb421b37dd10

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Fri Aug 21 22:41:15 CEST 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Logback: the generic, reliable, fast and flexible logging framework.".

The branch, master has been updated
       via  0a9c28e40bfc48a91a097776c970cb421b37dd10 (commit)
       via  3351c004a1517ae6a4203cad27a34615bf72780e (commit)
      from  c7a58e5dbad4e2d6c9faf7a6c65444f841422797 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=0a9c28e40bfc48a91a097776c970cb421b37dd10
http://github.com/ceki/logback/commit/0a9c28e40bfc48a91a097776c970cb421b37dd10

commit 0a9c28e40bfc48a91a097776c970cb421b37dd10
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Fri Aug 21 22:39:18 2009 +0200

     - Cleaning up the location of log files generated during testing
     - adding ignored files under logback-cire/src/test/input

diff --git a/logback-core/src/test/input/.gitignore b/logback-core/src/test/input/.gitignore
new file mode 100644
index 0000000..4d7ac69
--- /dev/null
+++ b/logback-core/src/test/input/.gitignore
@@ -0,0 +1 @@
+compress?.txt
diff --git a/logback-core/src/test/java/ch/qos/logback/core/appender/FileAppenderTest.java b/logback-core/src/test/java/ch/qos/logback/core/appender/FileAppenderTest.java
index 3ed4d8d..070c2a2 100644
--- a/logback-core/src/test/java/ch/qos/logback/core/appender/FileAppenderTest.java
+++ b/logback-core/src/test/java/ch/qos/logback/core/appender/FileAppenderTest.java
@@ -42,8 +42,8 @@ public class FileAppenderTest extends AbstractAppenderTest<Object> {
   protected Appender<Object> getConfiguredAppender() {
     FileAppender<Object> appender = new FileAppender<Object>();
     appender.setLayout(new NopLayout<Object>());
-    appender.setFile("temp.log");
-    appender.setName("temp.log");
+    appender.setFile(CoreTestConstants.OUTPUT_DIR_PREFIX+"temp.log");
+    appender.setName("test");
     appender.setContext(context);
     appender.start();
     return appender;
@@ -57,7 +57,7 @@ public class FileAppenderTest extends AbstractAppenderTest<Object> {
     appender.setLayout(new DummyLayout<Object>());
     appender.setAppend(false);
     appender.setFile(filename);
-    appender.setName("temp.log");
+    appender.setName("smoke");
     appender.setContext(context);
     appender.start();
     appender.doAppend(new Object());
diff --git a/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java b/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java
index d8d0ff2..eae0fa1 100644
--- a/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java
+++ b/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java
@@ -26,6 +26,7 @@ import ch.qos.logback.core.layout.DummyLayout;
 import ch.qos.logback.core.status.Status;
 import ch.qos.logback.core.status.StatusChecker;
 import ch.qos.logback.core.status.StatusManager;
+import ch.qos.logback.core.util.CoreTestConstants;
 import ch.qos.logback.core.util.StatusPrinter;
 
 public class RollingFileAppenderTest extends AbstractAppenderTest<Object> {
@@ -58,7 +59,7 @@ public class RollingFileAppenderTest extends AbstractAppenderTest<Object> {
   @Override
   protected Appender<Object> getConfiguredAppender() {
     rfa.setContext(context);
-    tbrp.setFileNamePattern("toto-%d.log");
+    tbrp.setFileNamePattern(CoreTestConstants.OUTPUT_DIR_PREFIX+"toto-%d.log");
     tbrp.start();
     rfa.setRollingPolicy(tbrp);
 
@@ -76,7 +77,7 @@ public class RollingFileAppenderTest extends AbstractAppenderTest<Object> {
     rfa.setBufferedIO(true);
     rfa.setPrudent(true);
 
-    tbrp.setFileNamePattern("toto-%d.log");
+    tbrp.setFileNamePattern(CoreTestConstants.OUTPUT_DIR_PREFIX+"toto-%d.log");
     tbrp.start();
     rfa.setRollingPolicy(tbrp);
 

http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=3351c004a1517ae6a4203cad27a34615bf72780e
http://github.com/ceki/logback/commit/3351c004a1517ae6a4203cad27a34615bf72780e

commit 3351c004a1517ae6a4203cad27a34615bf72780e
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Fri Aug 21 22:34:09 2009 +0200

    - since git does not seem to like empty directories, have the ant
    build script inside logback-example/pom.xml create the lib directory.

diff --git a/logback-examples/pom.xml b/logback-examples/pom.xml
index ec96a3d..2d6a914 100644
--- a/logback-examples/pom.xml
+++ b/logback-examples/pom.xml
@@ -90,6 +90,7 @@
             <phase>package</phase>
             <configuration>
               <tasks>
+                <mkdir dir="lib/"/>
                 <property name="slf4jJAR"
                   value="${settings.localRepository}/org/slf4j/slf4j-api/${slf4j.version}/slf4j-api-${slf4j.version}.jar" />
                 <echo>Copying ${slf4jJAR} to lib/</echo>

-----------------------------------------------------------------------

Summary of changes:
 logback-core/src/test/input/.gitignore             |    1 +
 .../logback/core/appender/FileAppenderTest.java    |    6 +++---
 .../core/rolling/RollingFileAppenderTest.java      |    5 +++--
 logback-examples/pom.xml                           |    1 +
 4 files changed, 8 insertions(+), 5 deletions(-)
 create mode 100644 logback-core/src/test/input/.gitignore


hooks/post-receive
-- 
Logback: the generic, reliable, fast and flexible logging framework.


More information about the logback-dev mailing list