Howdy,
I have the following:

System A uses a log4j configuration file, which defines one file
appender.
System B uses the same log4j configuration file, so it's writing to the
same file appender.

System A is long-lived, typically weeks at a time.  System B is
short-lived, typically runs once a day for about an hour.  Whenever
System B is started, System A is already running and writing to the log
file.

It seems like System B starts up OK, reads and configuration file, and
starts writing to the same log file as System A.  So far so good.
However, it also seems like when System B is done, it exits (the JVM
exits) properly, and then System A can no longer write to the log file.

System B does not explicitly shut down log4j, so I would expect System A
to continue to hold an open handle to the log file and keep writing to
it.  Am I missing something?  There are no exceptions in any of my logs
nor on the console.

Thanks in advance,

Yoav Shapira
Millennium ChemInformatics





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to