Re: Multiple applications using GetLogger with same name

Eric Schwarzenbach <[email protected]> Tue, 1 Aug 2023 14:39:30 -0400
Newsgroups gmane.comp.jakarta.log4j.user
Message-ID <[email protected]>
On 8/1/23 14:09, Danish Arif wrote:
> The second question to this issue Is there any solution if multiple
> instances of the same application which are agnostic to each other's
> existence, use GetLogger("SameName"); and log into files with names in
> incremental id appended dynamically. For Example App Inst1 when gets
> logger, log into MyLogFile1 and when Inst2 initiates it logs into
> MyLogFile2.
This might be relevant: 
https://stackoverflow.com/questions/25754933/log4j2-include-pid