Remember to put quotes around the file you specified next to LOG_TEXTFILE. You must create this file and give it writing permissions to the user under which your webserver runs. Also, don’t put this file under the webserver documents root directory, as it will contain passwords and other sensitive information.
If you’re trying to generate a log to send to support to help them diagnose problem, enable logging just before reproducing the problem, and then disable it just after having reproduced the problem, so the log will only show what support needs to know.
Please use log level 4 when submitting a log to staff. If you are sending a log about SMTP not working, please use log level 5 instead.