liangjingyang commented on issue #3800: URL: https://github.com/apache/incubator-devlake/issues/3800#issuecomment-1336122104
Hi @keon94 thanks for your investigating and reply. I didn't set LOGGING_DIR, so it is the default working directory I guess: `/app`. Yes, I mount a `dbt` folder on `/app/dbt`, but the downloaded folder is not the `/app/dbt`, it's `/app/dbt/dbt/proejcts/datacenter`. After some debuging on `release-0.14`, I found that [here](https://github.com/apache/incubator-devlake/blob/release-v0.14/plugins/dbt/tasks/convertor.go#L58) changed the working directory which maybe made the logging directory changed. I have some suggestions for discussing: 1. The dbt plugin shouldn't change the working directory @long2ice. (It's better not change the working directory in runtime ). 2. The core should give a unified base path for relative path. 3. Consider to give a specific relative logging path as default LOGGING_DIR in .env, something like `logs`, since [here](https://github.com/apache/incubator-devlake/blob/release-v0.14/services/pipeline.go#L333) downloads the whole logging directory. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
