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

Matt Quinn commented on LOG4J2-976:
-----------------------------------

Synced latest code from master and verified this issue is resolved--Thanks!

> Using monitorInterval with YAML config file format causes JSONParseException
> ----------------------------------------------------------------------------
>
>                 Key: LOG4J2-976
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-976
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators, Core
>    Affects Versions: 2.0.2, 2.1, 2.2
>            Reporter: Matt Quinn
>            Priority: Minor
>             Fix For: 2.3
>
>
> If, when using the YAML configuration file format, the monitorInterval config 
> attribute is configured in order to automatically reconfigure logging, a 
> JSONParseException is thrown when the configuration file is reloaded after 
> the file changes.
> This appears to be because the YamlConfiguration class does not override the 
> reconfigure() method from the Reconfigurable interface.  The base class 
> implementation is called, which assumes a JSON-style grammar instead of YAML.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to