logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1263) log4j2.properties: monitorInterval has not effect
Date Mon, 08 Feb 2016 06:06:39 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136618#comment-15136618
] 

Ralph Goers commented on LOG4J2-1263:
-------------------------------------

It looks like PropertiesConfigurationFactory is not setting the ConfigurationSource so reconfiguration
is ignored. I will have to create a unit test to verify the failure. Once I have that the
fix should be simple.

> log4j2.properties: monitorInterval has not effect
> -------------------------------------------------
>
>                 Key: LOG4J2-1263
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1263
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Pascal Schumacher
>            Assignee: Ralph Goers
>
> "Properties configuration files support the advertiser, monitorInterval, name, packages,
shutdownHook, status, and verbose attrbutes." source: https://logging.apache.org/log4j/2.x/manual/configuration.html#Properties
> But adding "monitorInterval=5" to log4j2.properties seems to have no effect. Changes
to log4j2.properties do not change the configuration.
> If I use log4j2.xml everything works fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message