How to turn on DEBUG log for the services and views deployed?

Hi,

I have deployed a service and two views. Service endpoints seem to work but when I hit get functions for the views I am just getting:

error making proxied request: an error on the server (“context deadline exceeded (Client.Timeout or context cancellation while reading body)”) has prevented the request from succeeding

How do I turn on the log to see what is causing the issues? Thanks for your help.

If it was an error reaching the service log you would already see it without enabling debug logging, so there could be a bug in error reporting, please DM me the Kalix project id and I can take a look.

For enabling debug logs in the JVK SDK you would have to edit the src/main/resources/logback.xml logger config file and deploy a new image with the change in place, there is currently no dynamic control of the log level.