Hi! We need to run the same Java program say 20 times. Only difference is the configuration of the program. For this, starting 20 jvms is very memory consuming so I wrote a Java program which can load other Java applicationwith a different classloader for each application) and execute the void main(...) in a own thread. This works fine, we can now run the 20 instances of our program in one jvm which saves a log of memory.
The problem now is that all of the 20 programs do logging with log4j and all log to the same file because the package and class names are all the same. So my question is: 1) Can i set a different log4j configuration for a thread? 2) Is there another way to divide the 20 instances for logging? Thanks in advance! -- Dipl. Inform. Boris Klug, control IT GmbH, Koblenz, Germany http://www.control.de/ - Fon: +49 261-92748-321 - Fax: -336 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
