How to activate log

Hello

I’m getting back from the server 400 bad request and I would like to activate some log to understand why.
But I don’t know how to do

Thanks for your help