Type 'env' in the Windows 10 search bar and then click on the "" Edit the system environment variables" link that should show up in the right-hand pane.
Click the "Environment Variables" button in the bottom right portion of the resulting System Properties dialog box.
Click the "New" button in the top (User variables) section.
Put SIGIL_DEBUG_LOGFILE in the top variable name text-box
Put a full file path you have write permissions to in the bottom value text box. I suggest:
C:\users\<your user name>\Desktop\sigil-log.txt
Replace <your user name> appropriately, of course, and surround with quotes if your user name has spaces.
Click the OK button
Click the OK button on the environment variables dialog
Click the OK button on the System Properties dialog
Next time you Start Sigil, the sigil-log.txt file should be created on your desktop.
It will accumulate, so feel free to delete the file (it will be recreated) if it get polluted with a lot of extra stuff.
Delete (or slightly rename) the SIGIL_DEBUG_LOGFILE when done. I leave it there, spelled slightly incorrectly so I can easily turn logging back on/off.
|