A B C D E F G I J L M N O P R S T U V X 

A

ABSOLUTE_DATE_AND_TIME_PAT - Static variable in interface org.apache.log4j.util.Filter
 
ABSOLUTE_TIME_PAT - Static variable in interface org.apache.log4j.util.Filter
 
AbsoluteDateAndTimeFilter - Class in org.apache.log4j.util
 
AbsoluteDateAndTimeFilter() - Constructor for class org.apache.log4j.util.AbsoluteDateAndTimeFilter
 
AbsoluteTimeFilter - Class in org.apache.log4j.util
 
AbsoluteTimeFilter() - Constructor for class org.apache.log4j.util.AbsoluteTimeFilter
 
activateOptions() - Method in class org.apache.log4j.component.plugins.MockReceiver
Activate options.
activateOptions() - Method in class org.apache.log4j.VectorAppender
Does nothing.
AndFilterTest - Class in org.apache.log4j.filter
Unit tests for AndFilter.
AndFilterTest(String) - Constructor for class org.apache.log4j.filter.AndFilterTest
Create new test instance.
AndRuleTest - Class in org.apache.log4j.rule
Test for AndRule.
AndRuleTest(String) - Constructor for class org.apache.log4j.rule.AndRuleTest
Create new test.
append(LoggingEvent) - Method in class org.apache.log4j.VectorAppender
assertSerializationEquals(String, Object, int[], int) - Static method in class org.apache.log4j.util.SerializationTestHelper
Checks the serialization of an object against an file containing the expected serialization.
assertStreamEquals(String, byte[], int[], int) - Static method in class org.apache.log4j.util.SerializationTestHelper
Asserts the serialized form of an object.

B

BASIC_PAT - Static variable in interface org.apache.log4j.util.Filter
 

C

close() - Method in class org.apache.log4j.VectorAppender
 
Compare - Class in org.apache.log4j.component.util
 
Compare() - Constructor for class org.apache.log4j.component.util.Compare
 
compare(Class, String, String) - Static method in class org.apache.log4j.component.util.Compare
 
compare(Class, String, String, BufferedReader, BufferedReader) - Static method in class org.apache.log4j.component.util.Compare
 
Compare - Class in org.apache.log4j.receivers.util
 
Compare() - Constructor for class org.apache.log4j.receivers.util.Compare
 
compare(Class, String, String) - Static method in class org.apache.log4j.receivers.util.Compare
 
compare(Class, String, String, BufferedReader, BufferedReader) - Static method in class org.apache.log4j.receivers.util.Compare
 
Compare - Class in org.apache.log4j.util
 
Compare() - Constructor for class org.apache.log4j.util.Compare
 
compare(Class, String, String) - Static method in class org.apache.log4j.util.Compare
 
compare(Class, String, String, BufferedReader, BufferedReader) - Static method in class org.apache.log4j.util.Compare
 
CompositeTriggeringPolicyTest - Class in org.apache.log4j.rolling
Test CompositeTriggeringPolicy
CompositeTriggeringPolicyTest() - Constructor for class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
configure(String) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 
ControlFilter - Class in org.apache.log4j.util
 
ControlFilter(String[]) - Constructor for class org.apache.log4j.util.ControlFilter
 
createLayout() - Method in class org.apache.log4j.LayoutTest
Creates layout for test.
createLayout() - Method in class org.apache.log4j.xml.XSLTLayoutTest
 

D

DenyAllFilterTest - Class in org.apache.log4j.filter
Unit tests for DenyAllFilter.
DenyAllFilterTest(String) - Constructor for class org.apache.log4j.filter.DenyAllFilterTest
Create new test instance.
deserializeStream(String) - Static method in class org.apache.log4j.util.SerializationTestHelper
Deserializes a specified file.

E

EqualsRuleTest - Class in org.apache.log4j.rule
Test for EqualsRule.
EqualsRuleTest(String) - Constructor for class org.apache.log4j.rule.EqualsRuleTest
Create new test.
ExistsRuleTest - Class in org.apache.log4j.rule
Test for ExistsRule.
ExistsRuleTest(String) - Constructor for class org.apache.log4j.rule.ExistsRuleTest
Create new test.

F

FileNamePatternTestCase - Class in org.apache.log4j.rolling.helper
Tests for FileNamePattern.
FileNamePatternTestCase(String) - Constructor for class org.apache.log4j.rolling.helper.FileNamePatternTestCase
Construct new test.
filter(String) - Method in class org.apache.log4j.util.AbsoluteDateAndTimeFilter
 
filter(String) - Method in class org.apache.log4j.util.AbsoluteTimeFilter
 
filter(String) - Method in class org.apache.log4j.util.ControlFilter
 
Filter - Interface in org.apache.log4j.util
 
filter(String) - Method in interface org.apache.log4j.util.Filter
This filter transforms the input string and returns the results as output.
filter(String) - Method in class org.apache.log4j.util.ISO8601Filter
 
filter(String) - Method in class org.apache.log4j.util.JunitTestRunnerFilter
Filter out stack trace lines coming from the various JUnit TestRunners.
filter(String) - Method in class org.apache.log4j.util.LineNumberFilter
 
filter(String) - Method in class org.apache.log4j.util.MDCOrderFilter
Switch order of MDC keys when not in expected order.
filter(String) - Method in class org.apache.log4j.util.RelativeTimeFilter
 
filter(String) - Method in class org.apache.log4j.util.SunReflectFilter
 
filter(String) - Method in class org.apache.log4j.util.XMLDateFilter
 
filter(String) - Method in class org.apache.log4j.util.XMLLineAttributeFilter
 
filter(String) - Method in class org.apache.log4j.util.XMLTimestampFilter
 
FilterBasedRollingTest - Class in org.apache.log4j.rolling
Tests of rolling file appender with a filter based triggering policy.
FilterBasedRollingTest(String) - Constructor for class org.apache.log4j.rolling.FilterBasedRollingTest
 
FILTERED - Static variable in class org.apache.log4j.filter.SimpleFilterTest
 
FormattingInfoTest - Class in org.apache.log4j.pattern
Tests for ExtrasFormattingInfo.
FormattingInfoTest(String) - Constructor for class org.apache.log4j.pattern.FormattingInfoTest
Create a new instance.
FullCycleDBTest - Class in org.apache.log4j.receivers.db
This test case writes a few events into a databases and reads them back comparing the event written and read back.
FullCycleDBTest(String) - Constructor for class org.apache.log4j.receivers.db.FullCycleDBTest
Constructor for DBReeceiverTest.

G

getHost() - Method in class org.apache.log4j.component.plugins.MockReceiver
Get the remote host to connect to for logging events.
getMessage() - Method in class org.apache.log4j.LogCapture
Get message.
getPort() - Method in class org.apache.log4j.component.plugins.MockReceiver
Get the remote port to connect to for logging events.
getStringFromResource(String, int) - Method in class org.apache.log4j.receivers.xml.XMLDecoderTest
 
getVector() - Method in class org.apache.log4j.VectorAppender
 
gzCompare(Class, String, String) - Static method in class org.apache.log4j.receivers.util.Compare
 
gzCompare(Class, String, String, BufferedReader, BufferedReader) - Static method in class org.apache.log4j.receivers.util.Compare
 
gzCompare(Class, String, String) - Static method in class org.apache.log4j.util.Compare
 
gzCompare(Class, String, String, BufferedReader, BufferedReader) - Static method in class org.apache.log4j.util.Compare
 

I

isActive() - Method in class org.apache.log4j.component.plugins.MockReceiver
Is plugin active.
isClosed() - Method in class org.apache.log4j.VectorAppender
 
ISO8601_PAT - Static variable in interface org.apache.log4j.util.Filter
 
ISO8601Filter - Class in org.apache.log4j.util
 
ISO8601Filter() - Constructor for class org.apache.log4j.util.ISO8601Filter
 

J

JunitTestRunnerFilter - Class in org.apache.log4j.util
 
JunitTestRunnerFilter() - Constructor for class org.apache.log4j.util.JunitTestRunnerFilter
 

L

LayoutTest - Class in org.apache.log4j
Tests for Layout.
LayoutTest(String) - Constructor for class org.apache.log4j.LayoutTest
Construct a new instance of LayoutTest.
LayoutTest(String, String, boolean, String, String) - Constructor for class org.apache.log4j.LayoutTest
Constructor for use by derived tests.
LevelEqualsRuleTest - Class in org.apache.log4j.rule
Test for LevelEqualsRule.
LevelEqualsRuleTest(String) - Constructor for class org.apache.log4j.rule.LevelEqualsRuleTest
Create new test.
LevelInequalityRuleTest - Class in org.apache.log4j.rule
Test for LevelInequalityRule.
LevelInequalityRuleTest(String) - Constructor for class org.apache.log4j.rule.LevelInequalityRuleTest
Create new test.
LevelMatchFilterTest - Class in org.apache.log4j.filter
Unit tests for LevelMatchFilter.
LevelMatchFilterTest(String) - Constructor for class org.apache.log4j.filter.LevelMatchFilterTest
Create new test instance.
LevelRangeFilterTest - Class in org.apache.log4j.filter
Unit tests for LevelRangeFilter.
LevelRangeFilterTest(String) - Constructor for class org.apache.log4j.filter.LevelRangeFilterTest
Create new test instance.
LineNumberFilter - Class in org.apache.log4j.util
 
LineNumberFilter() - Constructor for class org.apache.log4j.util.LineNumberFilter
 
LogCapture - Class in org.apache.log4j
Helper class to set up and capture log messages.
LogCapture(Level) - Constructor for class org.apache.log4j.LogCapture
Creates new instance of LogCapture.
LoggerMatchFilterTest - Class in org.apache.log4j.filter
Unit tests for LoggerMatchFilter.
LoggerMatchFilterTest(String) - Constructor for class org.apache.log4j.filter.LoggerMatchFilterTest
Create new test instance.

M

MDCOrderFilter - Class in org.apache.log4j.util
This class switches MDC values into the order (unreasonably) expected by the witness files.
MDCOrderFilter() - Constructor for class org.apache.log4j.util.MDCOrderFilter
 
MockReceiver - Class in org.apache.log4j.component.plugins
Mock receiver used by PluginConfiguratorTest.
MockReceiver() - Constructor for class org.apache.log4j.component.plugins.MockReceiver
Create new instance.

N

NotEqualsRuleTest - Class in org.apache.log4j.rule
Test for NotEqualsRule.
NotEqualsRuleTest(String) - Constructor for class org.apache.log4j.rule.NotEqualsRuleTest
Create new test.
NotRuleTest - Class in org.apache.log4j.rule
Test for NotRule.
NotRuleTest(String) - Constructor for class org.apache.log4j.rule.NotRuleTest
Create new test.

O

org.apache.log4j - package org.apache.log4j
 
org.apache.log4j.component.plugins - package org.apache.log4j.component.plugins
 
org.apache.log4j.component.util - package org.apache.log4j.component.util
 
org.apache.log4j.filter - package org.apache.log4j.filter
 
org.apache.log4j.pattern - package org.apache.log4j.pattern
 
org.apache.log4j.receivers.db - package org.apache.log4j.receivers.db
 
org.apache.log4j.receivers.helpers - package org.apache.log4j.receivers.helpers
 
org.apache.log4j.receivers.rewrite - package org.apache.log4j.receivers.rewrite
 
org.apache.log4j.receivers.util - package org.apache.log4j.receivers.util
 
org.apache.log4j.receivers.xml - package org.apache.log4j.receivers.xml
 
org.apache.log4j.rolling - package org.apache.log4j.rolling
 
org.apache.log4j.rolling.helper - package org.apache.log4j.rolling.helper
 
org.apache.log4j.rule - package org.apache.log4j.rule
 
org.apache.log4j.util - package org.apache.log4j.util
 
org.apache.log4j.xml - package org.apache.log4j.xml
 
OrRuleTest - Class in org.apache.log4j.rule
Test for OrRule.
OrRuleTest(String) - Constructor for class org.apache.log4j.rule.OrRuleTest
Create new test.

P

PartialTextMatchRuleTest - Class in org.apache.log4j.rule
Test for PartialTextMatchRule.
PartialTextMatchRuleTest(String) - Constructor for class org.apache.log4j.rule.PartialTextMatchRuleTest
Create new test.
PatternParserTest - Class in org.apache.log4j.pattern
Test case for ExtrasPatternParser.java.
PatternParserTest(String) - Constructor for class org.apache.log4j.pattern.PatternParserTest
 
PluginTestCase - Class in org.apache.log4j.component.plugins
 
PluginTestCase(String) - Constructor for class org.apache.log4j.component.plugins.PluginTestCase
 

R

RELATIVE_TIME_PAT - Static variable in interface org.apache.log4j.util.Filter
 
RelativeTimeFilter - Class in org.apache.log4j.util
 
RelativeTimeFilter() - Constructor for class org.apache.log4j.util.RelativeTimeFilter
 
RenamingTest - Class in org.apache.log4j.rolling
This test case aims to unit test/reproduce problems encountered while renaming the log file under windows.
RenamingTest(String) - Constructor for class org.apache.log4j.rolling.RenamingTest
 
requiresLayout() - Method in class org.apache.log4j.VectorAppender
 
RewriteAppenderTest - Class in org.apache.log4j.receivers.rewrite
 
RewriteAppenderTest(String) - Constructor for class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 

S

SerializationTestHelper - Class in org.apache.log4j.util
Utiities for serialization tests.
serializeClone(Object) - Static method in class org.apache.log4j.util.SerializationTestHelper
Creates a clone by serializing object and deserializing byte stream.
setHost(String) - Method in class org.apache.log4j.component.plugins.MockReceiver
Configures the Host property, this will require activateOptions to be called for this to take effect.
setPort(String) - Method in class org.apache.log4j.component.plugins.MockReceiver
Set the remote host to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.component.plugins.MockReceiver
Set the remote port to connect to for logging events.
setUp() - Method in class org.apache.log4j.component.plugins.PluginTestCase
 
setUp() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
setUp() - Method in class org.apache.log4j.receivers.db.FullCycleDBTest
 
setUp() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 
setUp() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
setUp() - Method in class org.apache.log4j.rolling.FilterBasedRollingTest
 
setUp() - Method in class org.apache.log4j.rolling.RenamingTest
 
setUp() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
 
setUp() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
 
setUp() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
shutdown() - Method in class org.apache.log4j.component.plugins.MockReceiver
Shutdown.
SimpleFilterTest - Class in org.apache.log4j.filter
Various tests verifying that filters work properly and that JoranConfigurator can effectively parse config files containing them.
SimpleFilterTest(String) - Constructor for class org.apache.log4j.filter.SimpleFilterTest
 
SizeBasedRollingTest - Class in org.apache.log4j.rolling
Do not forget to call activateOptions when configuring programatically.
SizeBasedRollingTest(String) - Constructor for class org.apache.log4j.rolling.SizeBasedRollingTest
 
StringMatchFilterTest - Class in org.apache.log4j.filter
Unit tests for StringMatchFilter.
StringMatchFilterTest(String) - Constructor for class org.apache.log4j.filter.StringMatchFilterTest
Create new test instance.
SunReflectFilter - Class in org.apache.log4j.util
The sun.reflect.* lines are not present in all JDKs.
SunReflectFilter() - Constructor for class org.apache.log4j.util.SunReflectFilter
 

T

tearDown() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
tearDown() - Method in class org.apache.log4j.receivers.db.FullCycleDBTest
 
tearDown() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 
tearDown() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
tearDown() - Method in class org.apache.log4j.rolling.FilterBasedRollingTest
 
tearDown() - Method in class org.apache.log4j.rolling.RenamingTest
 
tearDown() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
 
tearDown() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
 
tearDown() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
TEMP - Static variable in class org.apache.log4j.filter.SimpleFilterTest
 
test1() - Method in class org.apache.log4j.component.plugins.PluginTestCase
 
test1() - Method in class org.apache.log4j.filter.AndFilterTest
Check that AndFilter.decide() returns Filter.ACCEPT if no filters added.
test1() - Method in class org.apache.log4j.filter.DenyAllFilterTest
Check that DenyAllFilter.decide() returns Filter.DENY.
test1() - Method in class org.apache.log4j.filter.LevelMatchFilterTest
Check that LevelMatchFilter.decide() returns Filter.ACCEPT when level matches.
test1() - Method in class org.apache.log4j.filter.LevelRangeFilterTest
Check that LevelRangeFilter.decide() returns Filter.DENY when event level is below min level.
test1() - Method in class org.apache.log4j.filter.LoggerMatchFilterTest
Check that LoggerMatchFilter.decide() with unspecified level returns Filter.ACCEPT for root logger.
test1() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test1() - Method in class org.apache.log4j.filter.StringMatchFilterTest
Check that StringMatchFilter.decide() returns Filter.NEUTRAL when string to match is unspecified.
test1() - Method in class org.apache.log4j.rolling.FilterBasedRollingTest
Test basic rolling functionality using configuration file.
test1() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
Tests that the lack of an explicit active file will use the low index as the active file.
test1() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
Test rolling without compression, activeFileName left blank, no stop/start
test1() - Method in class org.apache.log4j.rule.AndRuleTest
AndRule.getRule(Stack) throws exception if only one rule provided.
test1() - Method in class org.apache.log4j.rule.EqualsRuleTest
getRule() with only one entry on stack should throw IllegalArgumentException.
test1() - Method in class org.apache.log4j.rule.ExistsRuleTest
getRule() with no entry on stack should throw IllegalArgumentException.
test1() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate when levels are equal.
test1() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Test construction when level is unrecognized.
test1() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
getRule() with only one entry on stack should throw IllegalArgumentException.
test1() - Method in class org.apache.log4j.rule.NotRuleTest
NotRule.getRule(Stack) throws exception if only one rule provided.
test1() - Method in class org.apache.log4j.rule.OrRuleTest
OrRule.getRule(Stack) throws exception if only one rule provided.
test1() - Method in class org.apache.log4j.rule.PartialTextMatchRuleTest
getRule() with only one entry on stack should throw IllegalArgumentException.
test1() - Method in class org.apache.log4j.rule.TimestampEqualsRuleTest
Tests evaluate when timestamps are equal.
test1() - Method in class org.apache.log4j.rule.TimestampInequalityRuleTest
Test construction when timestamp is unrecognized.
test10() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test11() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test12() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test2() - Method in class org.apache.log4j.component.plugins.PluginTestCase
 
test2() - Method in class org.apache.log4j.filter.AndFilterTest
Check that AndFilter.decide() returns Filter.ACCEPT if only nested filter returns Filter.ACCEPT.
test2() - Method in class org.apache.log4j.filter.LevelMatchFilterTest
Check that LevelMatchFilter.decide() returns Filter.DENY when level matches and acceptOnMatch = false.
test2() - Method in class org.apache.log4j.filter.LevelRangeFilterTest
Check that LevelRangeFilter.decide() returns Filter.DENY when event level is above max level.
test2() - Method in class org.apache.log4j.filter.LoggerMatchFilterTest
Check that LoggerMatchFilter.decide() with unspecified level returns Filter.DENY for root logger when accept on match is false.
test2() - Method in class org.apache.log4j.filter.StringMatchFilterTest
Check that StringMatchFilter.decide() returns Filter.NEUTRAL when string to match does not appear in message.
test2() - Method in class org.apache.log4j.rolling.FilterBasedRollingTest
Test basic rolling functionality using explicit configuration.
test2() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
Test basic rolling functionality with explicit setting of FileAppender.file.
test2() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
No compression, with stop/restart, activeFileName left blank
test2() - Method in class org.apache.log4j.rule.AndRuleTest
AndRule.getRule(Stack) throws exception if non-rules are provided.
test2() - Method in class org.apache.log4j.rule.EqualsRuleTest
getRule() with bad field name should throw IllegalArgumentException.
test2() - Method in class org.apache.log4j.rule.ExistsRuleTest
getRule() with bad field name should throw IllegalArgumentException.
test2() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate when levels are not equal.
test2() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests construction when operator is unrecognized.
test2() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
getRule() with bad field name should throw IllegalArgumentException.
test2() - Method in class org.apache.log4j.rule.NotRuleTest
NotRule.getRule(Stack) throws exception if non-rules are provided.
test2() - Method in class org.apache.log4j.rule.OrRuleTest
OrRule.getRule(Stack) throws exception if non-rules are provided.
test2() - Method in class org.apache.log4j.rule.PartialTextMatchRuleTest
getRule() with bad field name should throw IllegalArgumentException.
test2() - Method in class org.apache.log4j.rule.TimestampEqualsRuleTest
Tests evaluate when levels are not equal.
test2() - Method in class org.apache.log4j.rule.TimestampInequalityRuleTest
Tests construction when operator is unrecognized.
test2AMGMT() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM UTC today event against 2 AM - 3 AM GMT filter.
test2AMLocal() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM local today event against 2 AM - 3 AM local time filter.
test2AMLocalLastWeek() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM local last week event against 2 AM - 3 AM local time filter.
test2AMLocalNextWeek() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM local next week event against 2 AM - 3 AM local time filter.
test2AMLocalTomorrow() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM local tomorrow event against 2 AM - 3 AM local time filter.
test2AMLocalYesterday() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM local yesterday event against 2 AM - 3 AM local time filter.
test3() - Method in class org.apache.log4j.filter.AndFilterTest
Check that AndFilter.decide() returns Filter.ACCEPT if two nested filters return Filter.ACCEPT.
test3() - Method in class org.apache.log4j.filter.LevelMatchFilterTest
Check that LevelMatchFilter.decide() returns Filter.NEUTRAL when levelToMatch is unspecified.
test3() - Method in class org.apache.log4j.filter.LevelRangeFilterTest
Check that LevelRangeFilter.decide() returns Filter.ACCEPT when event level is above min level.
test3() - Method in class org.apache.log4j.filter.LoggerMatchFilterTest
Check that LoggerMatchFilter.decide() with unspecified level returns Filter.NEUTRAL for non-root logger.
test3() - Method in class org.apache.log4j.filter.StringMatchFilterTest
Check that StringMatchFilter.decide() returns Filter.ACCEPT when string to match does appear in message.
test3() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
Same as testBasic but also with GZ compression.
test3() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
With compression, activeFileName left blank, no stop/restart
test3() - Method in class org.apache.log4j.rule.AndRuleTest
Test And of Level and Time.
test3() - Method in class org.apache.log4j.rule.EqualsRuleTest
getRule with "level" and "info" should return a LevelEqualsRule.
test3() - Method in class org.apache.log4j.rule.ExistsRuleTest
getRule with "msg".
test3() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate of a deserialized clone when levels are equal.
test3() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests evaluate of a deserialized clone when level satisfies rule.
test3() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
getRule with "level" and "info".
test3() - Method in class org.apache.log4j.rule.NotRuleTest
Test Not of LevelEqualsRule.
test3() - Method in class org.apache.log4j.rule.OrRuleTest
Test Or of Level and Time.
test3() - Method in class org.apache.log4j.rule.PartialTextMatchRuleTest
getRule with "level" and "nfo" should return a LevelEqualsRule.
test3() - Method in class org.apache.log4j.rule.TimestampEqualsRuleTest
Tests evaluate of a deserialized clone when timestamps are equal.
test3() - Method in class org.apache.log4j.rule.TimestampInequalityRuleTest
Tests evaluate of a deserialized clone when rule is satisified.
test3AMGMT() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 3 AM UTC today event against 2 AM - 3 AM GMT filter.
test3AMLocal() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 3 AM local today event against 2 AM - 3 AM local time filter.
test3AMLocalLastWeek() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 3 AM local last week event against 2 AM - 3 AM local time filter.
test3AMLocalNextWeek() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 3 AM local next week event against 2 AM - 3 AM local time filter.
test3AMLocalTomorrow() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 3 AM local tomorrow event against 2 AM - 3 AM local time filter.
test3AMLocalYesterday() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 3 AM local yesterday event against 2 AM - 3 AM local time filter.
test4() - Method in class org.apache.log4j.filter.AndFilterTest
Check that AndFilter.decide() returns Filter.DENY if only nested filter returns Filter.ACCEPT and acceptOnMatch is false.
test4() - Method in class org.apache.log4j.filter.LevelMatchFilterTest
Check that LevelMatchFilter.decide() returns Filter.NEUTRAL when event level is higher than level to match.
test4() - Method in class org.apache.log4j.filter.LevelRangeFilterTest
Check that LevelRangeFilter.decide() returns Filter.ACCEPT when event level is below max level.
test4() - Method in class org.apache.log4j.filter.LoggerMatchFilterTest
Check that LoggerMatchFilter.decide() returns Filter.ACCEPT for matching logger.
test4() - Method in class org.apache.log4j.filter.StringMatchFilterTest
Check that StringMatchFilter.decide() returns Filter.DENY when string to match does appear in message and accept on match is false.
test4() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
Test basic rolling functionality with bogus path in file name pattern.
test4() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
Without compression, activeFileName set, with stop/restart
test4() - Method in class org.apache.log4j.rule.AndRuleTest
Test And of Level and Time when Level does not match.
test4() - Method in class org.apache.log4j.rule.EqualsRuleTest
getRule with "timestamp" and time should return a TimestampEqualsRule.
test4() - Method in class org.apache.log4j.rule.ExistsRuleTest
getRule with "msg".
test4() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate of a deserialized clone when levels are not equal.
test4() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests evaluate of a deserialized clone when level does not satisfy rule.
test4() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
getRule with "timestamp" and time.
test4() - Method in class org.apache.log4j.rule.NotRuleTest
Test Not of Level when Level does not match.
test4() - Method in class org.apache.log4j.rule.OrRuleTest
Test Or of Level and Time when Level does not match.
test4() - Method in class org.apache.log4j.rule.PartialTextMatchRuleTest
getRule with "msg".
test4() - Method in class org.apache.log4j.rule.TimestampEqualsRuleTest
Tests evaluate of a deserialized clone when timestamps are not equal.
test4() - Method in class org.apache.log4j.rule.TimestampInequalityRuleTest
Tests evaluate of a deserialized clone when rule is not satisfied.
test5() - Method in class org.apache.log4j.filter.AndFilterTest
Check that AndFilter.decide() returns Filter.NEUTRAL if nested filters return Filter.ACCEPT and Filter.DENY.
test5() - Method in class org.apache.log4j.filter.LevelMatchFilterTest
Check that LevelMatchFilter.decide() returns Filter.NEUTRAL when event level is lower than level to match.
test5() - Method in class org.apache.log4j.filter.LevelRangeFilterTest
Check that LevelRangeFilter.decide() returns Filter.NEUTRAL when event level is above min level and accept on match is false.
test5() - Method in class org.apache.log4j.filter.StringMatchFilterTest
Check that StringMatchFilter.decide() returns Filter.NEUTRAL when string to match does appear in message but differs in case.
test5() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
Checking handling of rename failures due to other access to the indexed files.
test5() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
No compression, activeFileName set, without stop/restart
test5() - Method in class org.apache.log4j.rule.AndRuleTest
Test And of Level and Time when Time does not match.
test5() - Method in class org.apache.log4j.rule.EqualsRuleTest
getRule with "msg" should return an EqualsRule.
test5() - Method in class org.apache.log4j.rule.ExistsRuleTest
getRule with "msg".
test5() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate when levels are JDK 1.4 levels and equal.
test5() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests evaluate when levels are JDK 1.4 levels and satisified.
test5() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
getRule with "msg".
test5() - Method in class org.apache.log4j.rule.NotRuleTest
Test deserialized Not.
test5() - Method in class org.apache.log4j.rule.OrRuleTest
Test Or of Level and Time when Time does not match.
test5() - Method in class org.apache.log4j.rule.PartialTextMatchRuleTest
getRule with "msg".
test5() - Method in class org.apache.log4j.rule.TimestampEqualsRuleTest
Tests constructor will badly formed time specification.
test6() - Method in class org.apache.log4j.filter.AndFilterTest
Check that AndFilter.decide() returns Filter.NEUTRAL if nested filters return Filter.ACCEPT and Filter.NEUTRAL.
test6() - Method in class org.apache.log4j.filter.LevelRangeFilterTest
Check that LevelRangeFilter.decide() returns Filter.NEUTRAL when event level is below max level and accept on match is false.
test6() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test6() - Method in class org.apache.log4j.rolling.SizeBasedRollingTest
Deprecated.
Tests deprecated method
test6() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
With compression, activeFileName set, no stop/restart,
test6() - Method in class org.apache.log4j.rule.AndRuleTest
Test deserialized And.
test6() - Method in class org.apache.log4j.rule.EqualsRuleTest
getRule with "msg" should return an EqualsRule.
test6() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate when levels are JDK 1.4 levels and not equal.
test6() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests evaluate when levels are JDK 1.4 levels and not equal.
test6() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
getRule with "msg".
test6() - Method in class org.apache.log4j.rule.NotRuleTest
Test deserialized Not.
test6() - Method in class org.apache.log4j.rule.OrRuleTest
Test Or of Level and Time when Time and Level do not match.
test6() - Method in class org.apache.log4j.rule.PartialTextMatchRuleTest
Check PartailTextMatchRule serialization.
test7() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test7() - Method in class org.apache.log4j.rule.AndRuleTest
Test deserialized And when Level doesn't match.
test7() - Method in class org.apache.log4j.rule.EqualsRuleTest
Check EqualsRule serialization.
test7() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate of a deserialized clone when levels are JDK 1.4 levels and equal.
test7() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests evaluate of a deserialized clone when levels are JDK 1.4 levels and satisified.
test7() - Method in class org.apache.log4j.rule.NotEqualsRuleTest
Check NotEqualsRule serialization.
test7() - Method in class org.apache.log4j.rule.OrRuleTest
Test deserialized Or.
test8() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
test8() - Method in class org.apache.log4j.rule.LevelEqualsRuleTest
Tests evaluate of a deserialized clone when levels are JDK 1.4 levels and not equal.
test8() - Method in class org.apache.log4j.rule.LevelInequalityRuleTest
Tests evaluate of a deserialized clone when levels are JDK 1.4 levels and not satified.
test8() - Method in class org.apache.log4j.rule.OrRuleTest
Test deserialized Or when neither rule match.
test9() - Method in class org.apache.log4j.filter.SimpleFilterTest
 
testActivateOptions() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests activateOptions().
testActivateOptionsCalledByCompositeActivateOptions() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testActivateOptionsNotCalledByAddTriggeringPolicy() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testAllFalsePolicies() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testAllFields() - Method in class org.apache.log4j.receivers.db.FullCycleDBTest
This test starts by writing a single event to a DB using DBAppender and then reads it back using DBReceiver.
testAllTruePolicies() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testAtom() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests XML configuration and atom layout.
testAtomNS() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests XML configuration and atom layout.
testBasic1() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testBasic2() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testBogus() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testBogusWord1() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testBogusWord2() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testCDATA() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
testConfig1() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM-3AM local time accept on match filter.
testConfig2() - Method in class org.apache.log4j.filter.TimeFilterTest
Test 2 AM-3AM UTC reject on match filter.
testConstructor() - Method in class org.apache.log4j.pattern.FormattingInfoTest
Check constructor
testDecodeEventsString1() - Method in class org.apache.log4j.receivers.xml.XMLDecoderTest
 
testDecodeEventsString2() - Method in class org.apache.log4j.receivers.xml.XMLDecoderTest
 
testDecodeEventsURL1() - Method in class org.apache.log4j.receivers.xml.XMLDecoderTest
 
testDecodeEventsURL2() - Method in class org.apache.log4j.receivers.xml.XMLDecoderTest
 
testExceptionWithCDATA() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests CDATA element within exception.
testFileNamePatternFactories() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testFormat() - Method in class org.apache.log4j.LayoutTest
Tests format.
testFormat() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests formatted results.
testFormatDate1() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatDate2() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatDate3() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatDate4() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
A %d is treated as %d{yyyy-MM-dd} if followed by a malformed format specifier.
testFormatDate5() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
A %d is treated as %d{yyyy-MM-dd} if followed by a malformed format specifier.
testFormatInteger1() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger10() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger11() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger2() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger3() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger4() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger5() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger6() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger7() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger8() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatInteger9() - Method in class org.apache.log4j.rolling.helper.FileNamePatternTestCase
 
testFormatWithException() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests formatted results with an exception.
testFormatWithNDC() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests formatted results with an exception.
testGetContentType() - Method in class org.apache.log4j.LayoutTest
Tests getContentType.
testGetDefault() - Method in class org.apache.log4j.pattern.FormattingInfoTest
Check that getDefault does not return null.
testGetFooter() - Method in class org.apache.log4j.LayoutTest
Tests getFooter.
testGetHeader() - Method in class org.apache.log4j.LayoutTest
Tests getHeader.
testGetSetLocationInfo() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests getLocationInfo and setLocationInfo.
testIgnoresThrowable() - Method in class org.apache.log4j.LayoutTest
Tests ignoresThrowable.
testLineSep() - Method in class org.apache.log4j.LayoutTest
Tests Layout.LINE_SEP.
testLineSepLen() - Method in class org.apache.log4j.LayoutTest
Tests Layout.LINE_SEP.
testLocationInfo() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
testMalformedOption() - Method in class org.apache.log4j.pattern.PatternParserTest
Options with missing close braces will be treated as a literal.
testMapPolicy() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 
testMDC() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
Tests the format of the MDC portion of the layout to ensure the KVP's we put in turn up in the output file.
testMDCEscaped() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
testMore() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testMultiOption() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testNDCWithCDATA() - Method in class org.apache.log4j.xml.XSLTLayoutTest
Tests CDATA element within NDC content.
testNoPolicies() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testNull() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
testOneFalsePolicy() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testOneTruePolicy() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testPadLeft() - Method in class org.apache.log4j.pattern.FormattingInfoTest
Add padding to left since field is not minimum width.
testPadRight() - Method in class org.apache.log4j.pattern.FormattingInfoTest
Add padding to right since field is not minimum width.
testPatternLayoutFactories() - Method in class org.apache.log4j.pattern.PatternParserTest
 
testPluginListeners() - Method in class org.apache.log4j.component.plugins.PluginTestCase
 
testPropertyChangeListeners() - Method in class org.apache.log4j.component.plugins.PluginTestCase
 
testPropertyPolicy() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 
testReflectionPolicy() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppenderTest
 
testRename() - Method in class org.apache.log4j.rolling.RenamingTest
 
testRightTruncate() - Method in class org.apache.log4j.pattern.FormattingInfoTest
Field exceeds maximum width, truncate right.
testSingleOutput() - Method in class org.apache.log4j.receivers.db.FullCycleDBTest
This test starts by writing a single event to a DB using DBAppender and then reads it back using DBReceiver.
testToLevelFINEST() - Method in class org.apache.log4j.receivers.helpers.UtilLoggingLevelTest
Test toLevel("fiNeSt").
testTrueAndFalsePolicies() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicyTest
 
testTruncate() - Method in class org.apache.log4j.pattern.FormattingInfoTest
Field exceeds maximum width
testWithJoran1() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
 
TimeBasedRollingTest - Class in org.apache.log4j.rolling
A rather exhaustive set of tests.
TimeBasedRollingTest(String) - Constructor for class org.apache.log4j.rolling.TimeBasedRollingTest
 
TimeFilterTest - Class in org.apache.log4j.filter
Tests for TimeFilter.
TimeFilterTest(String) - Constructor for class org.apache.log4j.filter.TimeFilterTest
Construct new instance.
TimestampEqualsRuleTest - Class in org.apache.log4j.rule
Test for TimestampEqualsRule.
TimestampEqualsRuleTest(String) - Constructor for class org.apache.log4j.rule.TimestampEqualsRuleTest
Create new test.
TimestampInequalityRuleTest - Class in org.apache.log4j.rule
Test for TimestampInequalityRule.
TimestampInequalityRuleTest(String) - Constructor for class org.apache.log4j.rule.TimestampInequalityRuleTest
Create new test.
transform(String, String, Filter[]) - Static method in class org.apache.log4j.util.Transformer
 
transform(String, String, Filter) - Static method in class org.apache.log4j.util.Transformer
 
Transformer - Class in org.apache.log4j.util
 
Transformer() - Constructor for class org.apache.log4j.util.Transformer
 

U

UnexpectedFormatException - Exception in org.apache.log4j.util
 
UnexpectedFormatException(String) - Constructor for exception org.apache.log4j.util.UnexpectedFormatException
 
UtilLoggingLevelTest - Class in org.apache.log4j.receivers.helpers
Unit tests for UtilLoggingLevel.
UtilLoggingLevelTest(String) - Constructor for class org.apache.log4j.receivers.helpers.UtilLoggingLevelTest
Create new instance of test.

V

vector - Variable in class org.apache.log4j.VectorAppender
 
VectorAppender - Class in org.apache.log4j
An appender that appends logging events to a vector.
VectorAppender() - Constructor for class org.apache.log4j.VectorAppender
 

X

XMLDateFilter - Class in org.apache.log4j.util
 
XMLDateFilter() - Constructor for class org.apache.log4j.util.XMLDateFilter
 
XMLDecoderTest - Class in org.apache.log4j.receivers.xml
Tests for XMLDecoder.
XMLDecoderTest(String) - Constructor for class org.apache.log4j.receivers.xml.XMLDecoderTest
Constructor for XMLDecoderTest.
XMLLineAttributeFilter - Class in org.apache.log4j.util
 
XMLLineAttributeFilter() - Constructor for class org.apache.log4j.util.XMLLineAttributeFilter
 
XMLTimestampFilter - Class in org.apache.log4j.util
 
XMLTimestampFilter() - Constructor for class org.apache.log4j.util.XMLTimestampFilter
 
XSLTLayoutTest - Class in org.apache.log4j.xml
Test for XSLTLayout.
XSLTLayoutTest(String) - Constructor for class org.apache.log4j.xml.XSLTLayoutTest
Construct new instance of XSLTLayoutTest.
XSLTLayoutTestCase - Class in org.apache.log4j.xml
 
XSLTLayoutTestCase(String) - Constructor for class org.apache.log4j.xml.XSLTLayoutTestCase
 
XXsuite() - Static method in class org.apache.log4j.receivers.db.FullCycleDBTest
 
XXXtestBasic() - Method in class org.apache.log4j.xml.XSLTLayoutTestCase
 
XXXtestWithJoran10() - Method in class org.apache.log4j.rolling.TimeBasedRollingTest
 
A B C D E F G I J L M N O P R S T U V X 

Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.