Package org.apache.log4j.rolling

Examples of org.apache.log4j.rolling.RolloverDescriptionImpl


        }
        return true;
      }
    };

    return new RolloverDescriptionImpl(activeFileName, append, synchronous, newAsynchronous);

  }
View Full Code Here


    //
    //  RollingPolicyBase.activeFileName duplicates RollingFileAppender.file
    //    and should be removed.
    //
    if (activeFileName != null) {
      return new RolloverDescriptionImpl(activeFileName, append, null, null);
    } else if (currentActiveFile != null) {
      return new RolloverDescriptionImpl(
        currentActiveFile, append, null, null);
    } else {
      return new RolloverDescriptionImpl(
        lastFileName.substring(0, lastFileName.length() - suffixLength), append,
        null, null);
    }
  }
View Full Code Here

          new File(lastBaseName), new File(lastFileName), true);
    }

    lastFileName = newFileName;

    return new RolloverDescriptionImpl(
      nextActiveFile, false, renameAction, compressAction);
  }
View Full Code Here

TOP

Related Classes of org.apache.log4j.rolling.RolloverDescriptionImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.