Strapi 4 - lifecycle hook console log

Still don’t know why the console log is not showing up. But I did discover that the location of the lifecycle.ts file has been changed by a version update from Strapi 3 to Strapi 4. So most likely, the code inside the lifecycle.ts should be refactored a little bit.