[QUESTION] WorkServer exec Task on localhost report NPE

WorkerServer exec task on localhost the getLogPath method report NPE
Please add logback-xx.xml in vm options when you run ds on localhost
+1,I've had this problem
@liwenhe1993 could you tell me the key?
@liwenhe1993 thanks,I found the key
I am use idea. master vm option:
-Dspring.profiles.active=master -Dlogging.config="dolphinscheduler-server/src/main/resources/master_logback.xml"
worker vm option:
-Dspring.profiles.active=worker -Dlogging.config="dolphinscheduler-server/src/main/resources/worker_logback.xml"
CombinedApplicationServer vm option
-Dlogging.config="dolphinscheduler-api/src/main/resources/apiserver_logback.xml"
CombinedApplicationServer active profiles:
api
@liwenhe1993 thanks,I found the key
I am use idea. master vm option:
-Dspring.profiles.active=master -Dlogging.config="dolphinscheduler-server/src/main/resources/master_logback.xml"worker vm option:
-Dspring.profiles.active=worker -Dlogging.config="dolphinscheduler-server/src/main/resources/worker_logback.xml"CombinedApplicationServer vm option
-Dlogging.config="dolphinscheduler-api/src/main/resources/apiserver_logback.xml"CombinedApplicationServer active profiles:
api
good job