That should work fine because the file is locked each time before writing to it (exclusive lock).
I haven't tested this on a NAS setup, but I have tested it by having two processes log continuously to the same log file on a local disk and this works ok. Let us know if you run into any problems. Regards, Ivan On 16 August 2011 15:26, Michael Sole <ms...@gold-mobile.com> wrote: > If I were to have a NAS and mount a folder on 2 different servers to a > folder on the NAS could I use log4php to write to the same file from both > servers?**** > > ** ** > > The goal is to have 1 log file from 2 servers in a load balanced array.*** > * > > ** ** > > *_______________***** > > *Michael F. Sole* > ms...@gold-mobile.com**** > > Office: 732.632.8801, ext. 261 > Mobile: 516.592.3683**** > > Fax: 732.632.3599 > > *Gold Mobile* > www.gold-mobile.com* * **** > > *Mobile Health Tech Group* > www.mobilehealthtech.md**** > > This e-mail and any files transmitted are intended solely for the use of > the individual or entity to whom they are addressed, and for the use of Gold > Mobile. Any other use is strictly prohibited.**** > > ** ** >