[logback-dev] svn commit: r2432 - logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling

noreply.ceki at qos.ch noreply.ceki at qos.ch
Sun Aug 9 20:25:19 CEST 2009


Author: ceki
Date: Sun Aug  9 20:25:19 2009
New Revision: 2432

Modified:
   logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java
   logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java

Log:
- avoid cluttering the console

Modified: logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java
==============================================================================
--- logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java	(original)
+++ logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java	Sun Aug  9 20:25:19 2009
@@ -57,7 +57,6 @@
     cal.set(Calendar.MILLISECOND, 333);
     currentTime = cal.getTimeInMillis();
     recomputeRolloverThreshold(currentTime);
-    System.out.println(randomOutputDir);
   }
 
   public static void existenceCheck(String filename) {
@@ -148,7 +147,6 @@
       boolean gzExtension) {
 
     String fn = randomOutputDir + testId + "-" + SDF.format(date);
-    System.out.println("adding " + fn);
     if (gzExtension) {
       fn += ".gz";
     }

Modified: logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java
==============================================================================
--- logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java	(original)
+++ logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java	Sun Aug  9 20:25:19 2009
@@ -85,7 +85,6 @@
 
   @Test
   public void montlyRolloverOverManyPeriods() throws Exception {
-    System.out.println(randomOutputDir);
     // small maxHistory, many periods
     slashCount = computeSlashCount(MONTHLY_CROLOLOG_DATE_PATTERN);
     doRollover(randomOutputDir + "/%d{" + MONTHLY_CROLOLOG_DATE_PATTERN
@@ -104,7 +103,6 @@
 
   @Test
   public void dailyCronologRollover() throws Exception {
-    System.out.println(randomOutputDir);
     slashCount = computeSlashCount(DAILY_CROLOLOG_DATE_PATTERN);
     doRollover(randomOutputDir + "/%d{" + DAILY_CROLOLOG_DATE_PATTERN
         + "}/clean.txt.zip", MILLIS_IN_DAY, 8, 8 * 3);
@@ -278,8 +276,6 @@
     File dir = new File(randomOutputDir);
     List<File> fileList = new ArrayList<File>();
     findFilesInFolderRecursivelyByPatterMatch(dir, fileList, regex);
-    System.out.println("regex=" + regex);
-    System.out.println("fileList=" + fileList);
     Set<String> set = groupByClass(fileList, regex);
     assertEquals(expectedClassCount, set.size());
   }


More information about the logback-dev mailing list