Re: Dynamic loggers/appenders

2024-02-28 Thread Ralph Goers
If you are creating separate LoggerContext’s then every one of them can have its own configuration. The LoggerContext has an externalMap that you can add items to. You could then create a Lookup to retrieve elements from the external Map to resolve references in a common configuration file share

Dynamic loggers/appenders

2024-02-28 Thread NH Rao
Greetings, We are in the midst of tech stack upgrade and have upgraded to log4j version 2.23.0. I am checking if I can do things differently or in a better way. We have an application not web application, but good old java/jar application. It receives "jobs/tasks" on MQ queues. Each job can creat