The problem
Debug tasks, but the console never prints logs, either framework logs or business logs.
The solution
This may be because there are no log dependencies in the current function. Add the following dependencies:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.21</version>
</dependency>
Copy the code