Have you tried configuring with two leading '$' characters? http://logging.apache.org/log4j/2.x/manual/configuration.html#RuntimeLookup
Sent from my iPhone > On 2016/06/28, at 3:17, Benjamin Jaton <[email protected]> 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
