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

noreply.ceki at qos.ch noreply.ceki at qos.ch
Mon Oct 23 20:54:28 CEST 2006


Author: ceki
Date: Mon Oct 23 20:54:28 2006
New Revision: 747

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java

Log:


Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java	Mon Oct 23 20:54:28 2006
@@ -78,5 +78,9 @@
   public void stop() {
     started = false;
   }
+
+  public String getActiveFileName() {
+    return activeFileName;
+  }
   
 }

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java	Mon Oct 23 20:54:28 2006
@@ -255,6 +255,7 @@
   * as computed by the <b>FileNamePattern</b> option.
   *
   */
+  @Override
   public String getActiveFileName() {
     if (activeFileName == null) {
       return activeFileNamePattern.convertDate(lastCheck);



More information about the logback-dev mailing list