I know one simple way would be to use the monitorInterval attribute on Configuration and then touching the file to change its last modified time. There might be a better solution, though. You can programmatically cause a reconfiguration as well.
On 27 June 2016 at 13:17, Benjamin Jaton <benjamin.ja...@gmail.com> wrote: > Hello, > > I have a simple appender like: > > { > "type" : "smtp", > "name" : "EmailAppender", > "subject" : "${email.subject}", > "to" : "${email.recipient}", > "from" : "${email.from}", > "smtpProtocol" : "${email.smtp.protocol}", > "smtpHost" : "${email.smtp.host}", > "smtpPort" : "${email.smtp.port}", > "smtpUsername" : "${email.smtp.username}", > "smtpPassword" : "${email.smtp.password}" > } > > When I have a updated value for one of those property (for example > ${email.subject} has changed, what's the simplest way to reload the > appender so that it takes that new value? > Do we have to force a full reconfiguration? > > Thanks > Ben > -- Matt Sicker <boa...@gmail.com>