Where is test's kong error.log?

Hi!

Using 0.14.1 I run tests for my plugin like this:

vagrant@ubuntu-bionic:/kong$ ls /kong/servroot/
client_body_temp fastcgi_temp logs nginx.conf nginx-kong.conf pids proxy_temp scgi_temp ssl uwsgi_temp
vagrant@ubuntu-bionic:/kong$ bin/busted /kong-plugin/spec/myplugin/

1 success / 0 failures / 0 errors / 0 pending : 5.028156 seconds
vagrant@ubuntu-bionic:/kong$ ls /kong/servroot/
ls: cannot access ‘/kong/servroot/’: No such file or directory

  • Where can I find “error.log” after running tests (so I can diagnose test failures etc.)?
  • Why /kong/servroot/ was removed?

Thanks!

Solved.

Need remove this from test source:

teardown(function()
helpers.stop_kong()
end)

Then directory /kong/servroot/ persist and I can find error.log in regular location.