org.apache.log.output.test
Class TestRotatingFileOutputLogTarget
java.lang.Object
org.apache.log.output.test.TestRotatingFileOutputLogTarget
- public class TestRotatingFileOutputLogTarget
- extends java.lang.Object
- Author:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_formatter
private RawFormatter m_formatter
-
TestRotatingFileOutputLogTarget
public TestRotatingFileOutputLogTarget()
testSizeUnique
public void testSizeUnique()
throws java.lang.Exception
-
test file rotation by size, using unique filenames
-
- Throws:
java.lang.Exception
testSizeRevoling
public void testSizeRevoling()
throws java.lang.Exception
-
test file rotation by size, using revolving filenames
-
- Throws:
java.lang.Exception
testTimeUnique
public void testTimeUnique()
throws java.lang.Exception
-
test file rotation by time, using unique filenames
-
- Throws:
java.lang.Exception
testTimeRevolving
public void testTimeRevolving()
throws java.lang.Exception
-
test file rotation by time, using revolving filenames
-
- Throws:
java.lang.Exception
doTest
private void doTest(Logger logger)
-
generateMessages
private int generateMessages(Logger logger,
int i,
long totalSize,
long diffTime)
-
just generate some logger messages
-
getLogger
private Logger getLogger(FileStrategy fileStrategy,
RotateStrategy rotateStrategy)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
Please see keelframework.org for information about new Keel releases.