I am having a problem getting logging working even after reading all the manuals and FAQs.
Details:-
I am using PHP version and files are stored in "zoom/" (relative to the URL root). Logging is switched on and the log file set to "./logs/searchfiles.log" i.e. I should find the log in "zoom/logs/searchfiles.log"
I have set the permission on the logs directory to 777 (as a first stab). The directory is empty.
No log seems to be created nor are any error messages generated, I would have expected one or the other.
I have verified that the logging mechanism is switched on and working by putting a patch in search.php to write the log line to the HTML as a comment and when viewing the source after a search then this seems to be fine. It is as if the true log is going to /dev/null
I have tried creating an empty searchfiles.log with 777 protection in case it needed a seed file but no avail.
Is there something I am missing here?
Details:-
I am using PHP version and files are stored in "zoom/" (relative to the URL root). Logging is switched on and the log file set to "./logs/searchfiles.log" i.e. I should find the log in "zoom/logs/searchfiles.log"
I have set the permission on the logs directory to 777 (as a first stab). The directory is empty.
No log seems to be created nor are any error messages generated, I would have expected one or the other.
I have verified that the logging mechanism is switched on and working by putting a patch in search.php to write the log line to the HTML as a comment and when viewing the source after a search then this seems to be fine. It is as if the true log is going to /dev/null
I have tried creating an empty searchfiles.log with 777 protection in case it needed a seed file but no avail.
Is there something I am missing here?
Comment