If you're looking at the quickstart page on the log4php web site [1] then there's a mistake in the example.
The 4th line of the XML configuration says: <param name="file" value="myLog.log"> But it should be: <param name="file" value="myLog.log" /> Found that recently. We'll correct it soon. Hope that helps. Regards, Ivan [1] http://logging.apache.org/log4php/quickstart.html On 16 August 2011 19:55, Michael Sole <ms...@gold-mobile.com> wrote: > I am just working on the quick start, trying to get it implemented. I am > used to using log4j but this is my first time with this package.**** > > ** ** > > I was able to get events logged to the apache log file now I am working on > the second example and it should be creating a myLog.log file but nothing is > happening and I see no errors in the logs.**** > > ** ** > > It’s probably something pretty basic, please help.**** > > ** ** > > Thanks**** > > ** ** > > *From:* Ivan Habunek [mailto:ivan.habu...@gmail.com] > *Sent:* Tuesday, August 16, 2011 9:34 AM > *To:* Log4PHP User > *Subject:* Re: Multiple servers writing to the same file**** > > ** ** > > 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.**** > > **** > > ** ** >