You are probably familiar an event that occurs in a response of the user interaction and it passes data to observers and this observer runs the logic. But when there are a thousand lines of code, use this small piece of code to get a list of all events inside log file with just easy steps.
Attachment 13496
for more tutorial: How to get a list of events generated when you perform any action in Magento 2