Question: I am having trouble understanding the concept of static and dynamic sites within the context of a React app. I am reading about how you can deploy React apps to Netlify which is known for hosting static sites. But all the React apps I've made make requests to Node/Express backends and shows the data that gets returned from them. I'm pretty sure that would make my React apps dynamic. Does this mean that I wouldn't be able to deploy them to Netlify?

Answer: 
Actually, I am quite sure your Logger is being updated correctly. The problem is that both application instances are going to use the same Logging configuration. 

If you look at [Log4j's architecture](http://logging.apache.org/log4j/2.x/manual/architecture.html) you will see that the Loggers and the configuration are anchored in the LoggerContext. By default, Log4j uses the ClassLoaderContextSelector, which means that every ClassLoader can have its own LoggerContext. Your sample application only has a single ClassLoader and so will only have a single LoggerContext and, therefore, only a single Configuration.

So when you reconfigured the second time you simply replaced the prior configuration with the new one. Since the root logger is handling all log events it will route the events from both Loggers you have created to the file created in the second configuration.

If you want logs to end up in two different files then create a configuration with both files and figure out a way to route them to the correct file, either via logger names or filters.
As per observation, your logger is updated with the last initialization so after `app2.initializeYourLogger()` your object-level `logger` object updated with App2 configuration.

You need to return the logger object from `initializeYourLogger()` and also create separate Logger object.