Repository: logging-log4j2 Updated Branches: refs/heads/master 954dfcb03 -> 36476e95e
Highlight the monitorInterval attribute in the text as code. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/36476e95 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/36476e95 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/36476e95 Branch: refs/heads/master Commit: 36476e95e9769492eab43e2aff0670012760cbb2 Parents: 954dfcb Author: Gary Gregory <[email protected]> Authored: Mon Mar 16 22:54:08 2015 -0700 Committer: Gary Gregory <[email protected]> Committed: Mon Mar 16 22:54:08 2015 -0700 ---------------------------------------------------------------------- src/site/xdoc/manual/configuration.xml.vm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/36476e95/src/site/xdoc/manual/configuration.xml.vm ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/configuration.xml.vm b/src/site/xdoc/manual/configuration.xml.vm index 7165900..8015054 100644 --- a/src/site/xdoc/manual/configuration.xml.vm +++ b/src/site/xdoc/manual/configuration.xml.vm @@ -275,8 +275,8 @@ public class Bar { <subsection name="Automatic Reconfiguration"> <p> When configured from a File, Log4j has the ability to automatically detect changes to the configuration - file and reconfigure itself. If the monitorInterval attribute is specified on the configuration element - and is set to a non-zero value then the file will be checked the next time a log event is evaluated + file and reconfigure itself. If the <code>monitorInterval</code> attribute is specified on the configuration + element and is set to a non-zero value then the file will be checked the next time a log event is evaluated and/or logged and the monitorInterval has elapsed since the last check. The example below shows how to configure the attribute so that the configuration file will be checked for changes only after at least 30 seconds have elapsed. The minimum interval is 5 seconds.
