[EMAIL PROTECTED] skrev  den 28-07-2008 23:01:
residing in a NAS (common shared) drive and all the managed servers point to
the same file while logging information from application
So you are basically writing in the same file from several places?

This is bound to give that kind of problems you describe. There is no file locking in the RollingFileAppender which means that the JVM does not do anything to ensure that the problems you have do not happen.

Is there any particular reason why you cannot have a log file per server?

If not you can either have a centralized logger doing the writing which all your appenders forward to, or write the file locking yourself.

--
 Thorbjørn

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

Reply via email to