Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/InequalityRule.html URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/InequalityRule.html?rev=569257&r1=569256&r2=569257&view=diff ============================================================================== --- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/InequalityRule.html (original) +++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/InequalityRule.html Thu Aug 23 22:43:39 2007 @@ -5,10 +5,10 @@
LikeRule
static RulePartialTextMatchRule.getRule(java.util.Stack stack)
-
-static RuleNotRule.getRule(java.util.Stack stack)
+AndRule.getRule(java.util.Stack stack)
static RuleNotEqualsRule.getRule(java.util.Stack stack)
+OrRule.getRule(java.util.Stack stack)
static RuleAndRule.getRule(java.util.Stack stack)
+LikeRule.getRule(java.util.Stack stack)
static RuleLikeRule.getRule(java.util.Stack stack)
+PartialTextMatchRule.getRule(java.util.Stack stack)
static RuleOrRule.getRule(java.util.Stack stack)
+NotRule.getRule(java.util.Stack stack)
static RuleLevelEqualsRule.getRule(java.lang.String value)
+NotEqualsRule.getRule(java.util.Stack stack)
static RuleTimestampEqualsRule.getRule(java.lang.String value)
+LevelEqualsRule.getRule(java.lang.String value)
static RuleTimestampEqualsRule.getRule(java.lang.String value)
+
+static RuleExpressionRule.getRule(java.lang.String expression,
boolean isPostFix)
@@ -404,7 +404,7 @@
static RulePartialTextMatchRule.getRule(java.lang.String field,
+TimestampInequalityRule.getRule(java.lang.String inequalitySymbol,
java.lang.String value)
@@ -413,26 +413,26 @@
static Rule
-EqualsRule.getRule(java.lang.String p1,
- java.lang.String p2)
+LevelInequalityRule.getRule(java.lang.String inequalitySymbol,
+ java.lang.String value)
- Create new instance.
+ Create new rule.
static Rule
-NotEqualsRule.getRule(java.lang.String field,
- java.lang.String value)
+EqualsRule.getRule(java.lang.String p1,
+ java.lang.String p2)
- Get new instance.
+ Create new instance.
static Rule
-TimestampInequalityRule.getRule(java.lang.String inequalitySymbol,
- java.lang.String value)
+LikeRule.getRule(java.lang.String field,
+ java.lang.String pattern)
Create new instance.
@@ -440,20 +440,20 @@
static Rule
-LevelInequalityRule.getRule(java.lang.String inequalitySymbol,
+PartialTextMatchRule.getRule(java.lang.String field,
java.lang.String value)
- Create new rule.
+ Create new instance.
static Rule
-LikeRule.getRule(java.lang.String field,
- java.lang.String pattern)
+NotEqualsRule.getRule(java.lang.String field,
+ java.lang.String value)
- Create new instance.
+ Get new instance.
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/RuleFactory.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/RuleFactory.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/RuleFactory.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/RuleFactory.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-Uses of Class org.apache.log4j.rule.RuleFactory (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Class org.apache.log4j.rule.RuleFactory (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.log4j.rule.RuleFactory (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Class org.apache.log4j.rule.RuleFactory (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampEqualsRule.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampEqualsRule.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampEqualsRule.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampEqualsRule.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-Uses of Class org.apache.log4j.rule.TimestampEqualsRule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Class org.apache.log4j.rule.TimestampEqualsRule (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.log4j.rule.TimestampEqualsRule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Class org.apache.log4j.rule.TimestampEqualsRule (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampInequalityRule.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampInequalityRule.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampInequalityRule.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/class-use/TimestampInequalityRule.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-Uses of Class org.apache.log4j.rule.TimestampInequalityRule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Class org.apache.log4j.rule.TimestampInequalityRule (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.log4j.rule.TimestampInequalityRule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Class org.apache.log4j.rule.TimestampInequalityRule (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-frame.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-summary.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-summary.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-summary.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-summary.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
@@ -156,7 +156,7 @@
LikeRule
-A Rule class providing support for ORO-based regular expression syntax.
+A Rule class supporting java.util.regex regular expression syntax.
NotEqualsRule
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-tree.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-tree.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-tree.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-tree.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-org.apache.log4j.rule Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.rule Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.apache.log4j.rule Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="org.apache.log4j.rule Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-use.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-use.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-use.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/rule/package-use.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-Uses of Package org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Package org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Package org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Package org.apache.log4j.rule (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/LoggingEventFieldResolver.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/LoggingEventFieldResolver.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/LoggingEventFieldResolver.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/LoggingEventFieldResolver.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
@@ -103,8 +103,7 @@
A singleton helper utility which accepts a field name
- and a LoggingEvent and returns the
- String value of that field.
+ and a LoggingEvent and returns the value of that field.
This class defines a grammar used in creation of an expression-based Rule.
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/class-use/LoggingEventFieldResolver.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/class-use/LoggingEventFieldResolver.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/class-use/LoggingEventFieldResolver.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/class-use/LoggingEventFieldResolver.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-Uses of Class org.apache.log4j.spi.LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Class org.apache.log4j.spi.LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.log4j.spi.LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Class org.apache.log4j.spi.LoggingEventFieldResolver (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-frame.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-summary.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-summary.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-summary.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-summary.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
@@ -92,8 +92,7 @@
LoggingEventFieldResolver
A singleton helper utility which accepts a field name
- and a LoggingEvent and returns the
- String value of that field.
+ and a LoggingEvent and returns the value of that field.
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-tree.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-tree.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-tree.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-tree.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-org.apache.log4j.spi Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.spi Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.apache.log4j.spi Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="org.apache.log4j.spi Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-use.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-use.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-use.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/spi/package-use.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
-Uses of Package org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Package org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0 API)
-
+
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Package org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Package org.apache.log4j.spi (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
@@ -108,8 +108,7 @@
A singleton helper utility which accepts a field name
- and a LoggingEvent and returns the
- String value of that field.
+
+
|
++ + | +|||||||||
| + PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
| + SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +|||||||||
+java.lang.Object ++org.apache.log4j.Layout +
org.apache.log4j.xml.XSLTLayout +
public final class XSLTLayout
+XSLTLayout transforms each event as a document using + a specified or default XSLT transform. The default + XSLT transform produces a result similar to XMLLayout. + + When used with a FileAppender or similar, the transformation of + an event will be appended to the results for previous + transforms. If each transform results in an XML element, then + resulting file will only be an XML entity + since an XML document requires one and only one top-level element. + To process the entity, reference it in a XML document like so: + +
+ <!DOCTYPE log4j:eventSet [<!ENTITY data SYSTEM "data.xml">]> + + <log4j:eventSet xmlns:log4j="http://jakarta.apache.org/log4j/"> + &data + </log4j:eventSet> + ++ + The layout will detect the encoding and media-type specified in + the transform. If no encoding is specified in the transform, + an xsl:output element specifying the US-ASCII encoding will be inserted + before processing the transform. If an encoding is specified in the transform, + the same encoding should be explicitly specified for the appender. + + Extracting MDC values can be expensive when used with log4j releases + prior to 1.2.15. Output of MDC values is enabled by default + but be suppressed by setting properties to false. + + Extracting location info can be expensive regardless of log4j version. + Output of location info is disabled by default but can be enabled + by setting locationInfo to true. + + Embedded transforms in XML configuration should not + depend on namespace prefixes defined earlier in the document + as namespace aware parsing in not generally performed when + using DOMConfigurator. The transform will serialize + and reparse to get the namespace aware document needed. +
+ +
+
| +Field Summary | +
|---|
| Fields inherited from class org.apache.log4j.Layout | +
|---|
LINE_SEP, LINE_SEP_LEN |
+
| +Constructor Summary | +|
|---|---|
XSLTLayout()
+
++ Default constructor. |
+|
| +Method Summary | +|
|---|---|
+ void |
+activateOptions()
+
++ |
+
+ java.lang.String |
+format(org.apache.log4j.spi.LoggingEvent event)
+
++ |
+
+ java.lang.String |
+getContentType()
+
++ |
+
+ boolean |
+getLocationInfo()
+
++ Gets whether location info should be output. |
+
+ boolean |
+getProperties()
+
++ Gets whether MDC key-value pairs should be output. |
+
+ boolean |
+ignoresThrowable()
+
++ Gets whether throwables should not be output. |
+
+ boolean |
+parseUnrecognizedElement(org.w3c.dom.Element element,
+ java.util.Properties props)
+
++ Called to inform a configured object when + an unrecognized child element is encountered. |
+
+ void |
+setIgnoresThrowable(boolean ignoresThrowable)
+
++ Sets whether throwables should not be output. |
+
+ void |
+setLocationInfo(boolean flag)
+
++ The LocationInfo option takes a boolean value. |
+
+ void |
+setProperties(boolean flag)
+
++ Sets whether MDC key-value pairs should be output, default false. |
+
+ void |
+setTransform(org.w3c.dom.Document xsltdoc)
+
++ Sets XSLT transform. |
+
| Methods inherited from class org.apache.log4j.Layout | +
|---|
getFooter, getHeader |
+
| Methods inherited from class java.lang.Object | +
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
+
| +Constructor Detail | +
|---|
+public XSLTLayout()+
+
| +Method Detail | +
|---|
+public java.lang.String getContentType()+
+
getContentType in class org.apache.log4j.Layout+public void setLocationInfo(boolean flag)+
+ If you are embedding this layout within an org.apache.log4j.net.SMTPAppender then make sure to set the
+ LocationInfo option of that appender as well.
+
+
flag - new value.+public boolean getLocationInfo()+
+
+public void setProperties(boolean flag)+
+
flag - new value.+public boolean getProperties()+
+
+public void activateOptions()+
+
activateOptions in interface org.apache.log4j.spi.OptionHandleractivateOptions in class org.apache.log4j.Layout+public boolean ignoresThrowable()+
+
ignoresThrowable in class org.apache.log4j.Layout+public void setIgnoresThrowable(boolean ignoresThrowable)+
+
ignoresThrowable - if true, throwables should not be output.+public java.lang.String format(org.apache.log4j.spi.LoggingEvent event)+
+
format in class org.apache.log4j.Layout+public void setTransform(org.w3c.dom.Document xsltdoc) + throws javax.xml.transform.TransformerConfigurationException+
+
xsltdoc - DOM document containing XSLT transform source,
+ may be modified.
+javax.xml.transform.TransformerConfigurationException - if transformer can not be
+ created.+public boolean parseUnrecognizedElement(org.w3c.dom.Element element, + java.util.Properties props) + throws java.lang.Exception+
+
parseUnrecognizedElement in interface UnrecognizedElementHandlerelement - element, may not be null.props - properties in force, may be null.
+java.lang.Exception - throw an exception to prevent activation
+ of the configured object.
+
+
|
++ + | +|||||||||
| + PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
| + SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +|||||||||
@@ -157,6 +161,32 @@
RollingFileAppender extends FileAppender to backup the log files
depending on RollingPolicy and TriggeringPolicy.
| +Uses of UnrecognizedElementHandler in org.apache.log4j.xml | +
|---|
+ +
| Classes in org.apache.log4j.xml that implement UnrecognizedElementHandler | +|
|---|---|
+ class |
+XSLTLayout
+
++ XSLTLayout transforms each event as a document using + a specified or default XSLT transform. |