How do I update the "to" addresses on an SMTPAppender in Logback?
===

I am creating an admin page which has a couple of logback properties that I want to set on the fly, one of them being the admin emails that I send system alerts to. The api for the SMTPAppender has the methods to add to the list of "to" addresses, or get them as a list, but I didn't find anything to clear, remove any or update them. How should I do this?

I see two options currently

1) One option is to remove the appender and create a new one with the new properties (yuck).

2) Figure out how to configure this directly through Joran (maybe yuck?).

I'm moving forward with (2), but please post if there's a better way.