views:

100

answers:

1

The title says it all. Although I have instructed php to only log an error once - i see the error over and over again in my log file. Any ideas why this directive would get ignored? I've restarted apache, etc.

+2  A: 

This directive will only stop the error from being logged again within the same script run. When the same script is run multiple times, you will still see that error every time.

Ben James
Okay, that makes sense thanks. Do you know if there is anyway to make it not re-record the error every time the script is run? I suppose I could put together a cron-job to clean it up ocassionally...
sciguy14