bug: Missing directory “/output/logs/”
After deploy manually, when I run
$api/run.sh &
it will prompt an error
` panic: couldn't open sink "/Users/idbeta/1106/apisix-dashboard/output/logs/error.log"
- Please describe your requirements or improvement suggestions.`
It was correct after I manually added this directory“/output/logs/”
the output/logs should be created in api/run.sh
we already have logs folder in api, why we choose a new temporary output?
it makes me confused.
here is an example of APISIX, please ref: https://github.com/apache/apisix/blob/master/Makefile#L87
we already have
logsfolder inapi, why we choose a new temporaryoutput?it makes me confused.
The output directory is the final directory to save the binary file, config file, the frontend's files, and so on. It's the directory that is used to save the Build-after product. We should not generate those products under the source codes.
ok, got it. thansk for your explain