How to customize job results log folder name.
I found the source below while looking for a solution to an issue I wrote in the past.
Is there any particular reason for naming the folders in nanotime in that source?
https://github.com/spring-cloud/spring-cloud-deployer-local/blob/f7e90a107d387a0bbbc7a0818189b11d2c023bb0/spring-cloud-deployer-local/src/main/java/org/springframework/cloud/deployer/spi/local/LocalTaskLauncher.java#L249
If there is no special reason, could you change the name of the folder to the following?
<task_name-start_date_time>
The reason why I want to do this is because I want to manage the log files separately outside of SCDF.
Also, when a folder is formed in the above format, when a composed task is performed, there is a disadvantage in that logs for the entire composed task cannot be viewed at once, which is very inconvenient.
My opinion is as follows.
- When the composed task is executed for the first time, a folder is created with the
<name + start_time>of the composed task. - Subsequent tasks create log files in that folder.
Could the above be possible?