log4j2 2.14.0 and the mongodb4 appender

Julian Woodward <[email protected]>
Newsgroups gmane.comp.jakarta.log4j.user
Message-ID <CAGkBjQi79E7jSspZXKQiV4bF997J-P=MmOs=-JFR4VBDJpTbag@mail.gmail.com>
When the mongodb4 appender was created for log4j2, the ability to specify a
factory class/method in the log4j2.xml file was removed, and the
configuration option was instead reverted to requiring a simple connection
string.

Was there a technical reason why that needed to happen, or was it just for
simplicity at dev time?

I've been relying on the factory approach, as the database credentials are
not known until run-time in my use-case. I was also looking forward to
having a mongodb4 version to upgrade to, but as it stands now this is
unfortunately not giving me what I need.

Thanks!

Julian Woodward

PS New to this forum, so please be forgiving of any breaches of etiquette!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.