Use logging API correctly and introduce the ability to differentiate between the logging level for task execution taking too long