Re: No logging to secondary appender

2013-10-27 Thread Ivan Habunek
Hi Jamie, You're not feeding your config file to log4php. You need: Logger::configure("config.xml"); Add that after require_once. Just tested on my machine and it works. Actually, I'm not sure how you manage to get anything in your default log file. :-) The default config just writes to stdout.

Re: No logging to secondary appender

2013-10-27 Thread James Pittman
I gave you only the part of the code I thought was important. I'll check it again. _ Sent from my Droid Mini. Hopefully I don't break this one too. On Oct 27, 2013 3:49 AM, "Ivan Habunek" wrote: > Hi Jamie, > > You're not feeding your config file to log4php. You nee