There's only a small number of loggers. As the API documentation for the getLogger method says:
The documentation wrote:Retrieve a logger named according to the value of the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.
In other words, your code doesn't actually initialize a brand-new Logger object for each of the two classes. It seems that you have made some extra assumption that I don't understand.