Debug logging as main troubleshooting measure
If something goes wrong and you get an error or something doesn't work as expected, the most helpful troubleshooting measure is enabling logging, reproducing the issue and analyzing the log file.
Debug logging can be enabled in admin interface under
System / Logging.
In most cases, Verbosity level should be set to
Log files are stored under
data/logs/ directory, filenames have format:
log-YYYY-MM-DD.txt (for example:
log-2018-01-18.txt). You can download or view logs from
System / Logging screen.
To avoid irrelevant records in the log file (may significantly complicate analyzing), it's important to enable logging right before reproducing the issue and disable right after that.
Another reason of appearing irrelevant records is simultaneous access of multiple users to the same product installation. If hundreds of users work with your product installation at the moment when you're capturing the log file, all their actions will be logged and it'll be not possible to distinguish between relevant and irrelevant records.
In this case, personal logging may be helpful. To enable it, locate the user in Users tab and check
Separate log file for this user option. Once that's done, log records for this user aren't stored in main log file, a separate
firstname.lastname@example.org-YYYY-MM-DD.txt file is created.