This is an old question, and @codeulike answered it well, but I would like to add a note about the behavior of the log in debug mode, especially for someone new to maintaining SSIS or SSIS (like me). Assuming that you have all the configuration necessary for logging, if the selected task that you plan to register is running, it will not be registered anyway. Only if you execute (or debug) the whole package, then the log will work.
Happytown
source share