Spring boot log issu

use springboot2.0 to configure a reasonable log system. The system uses xml files to output logs to .log files in the specified folder. There is no problem here, but when I enabled the logfile node of actautor and configured it, I called / actuator/logfile and found that the logs output before each call to my .log would be emptied. What is the reason for this?

Apr.02,2022

check whether FastJsonHttpMessageConverter is used in the project. This will affect log viewing. You can try to check

from this direction.
Menu