Hello there,

getting accustomed with log4j 2. It is awesome so far. However, i can't figure out how to create a routing logger with the ConfigurationBuilder API. I came this far: AppenderComponentBuilder routingAppender = builder.newAppender("Routing", "Routing");

And then what, how do you configure the <Routes> and each <Route>?
Some input would be greatly appreciated!

Also, the OutputStreamAppender's Builder seems to be missing a few annotations (@PluginBuilderAttribute & @Required), compared to the one in ConsoleAppender.

Best regards
Jens Schmidt

Dipl.-Ing. Jens Schmidt
Telefon: 0711/217-24901-2
Email: schm...@iils.de

IILS Ingenieurgesellschaft für Intelligente Lösungen und Systeme mbH
Albstrasse 6, D-72818 Trochtelfingen-Steinhilben
Geschäftsführer Dipl.-Ing. Peter Arnold und Dipl.-Ing. Roland Weil
USt-IDNr.: DE 203557532
Registergericht: Amtsgericht Stuttgart
Handelsregister: Ingenieurkammer Baden-Württemberg HRB 20422

To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to