Search code examples
spring-cloud-dataflow

How to keep log file in Spring Cloud Data Flow?


My Spring Cloud Data Flow deleted log file in folder after I stopped it. Why SCDF does that and How can I keep these log files?


Solution

  • You can customize the logging configuration in the logback config file and pass it as a configuration properties for the SCDF server. Assuming you are trying this with the local data flow server, you can refer this documentation for logback configuration.