79544490

Date: 2025-03-30 11:13:21
Score: 2
Natty:
Report link

By default the application.log and application-xxxx.log will created because that is specified in the application.properties due to logging.file.name and logging.logback.filenamepattern,when you start the scheduler capture the currentdatetime ,pass the currentdate time as a parameter to create a file and forwardingly write the logging statements there,before the scheduler stops capture the currentdatetime again and rename that file

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Steffi Das