Translations:Manual:How to debug/23/en

To save errors and debugging information to a log, add $logfile to the  file. Change the value to a text file where you want to save the debug trace output.