supertest icon indicating copy to clipboard operation
supertest copied to clipboard

disabling the debug REQURL CODE line that comes while testing

Open thevikas opened this issue 3 years ago • 1 comments

Have been trying to disable the debug lines that come while testing strapi api. Not able to find solutions anywhere. Have marked jest silent and also said verbose false and still these lines keep coming. Have to use dots reporter but these lines disturb the output. Please suggest. Or maybe suggest the line it is written and I could just disable in my local node_modules folder. lol.

[2022-12-18T10:40:44.091Z] debug POST /auth/local (1026 ms) 200

thevikas avatar Dec 18 '22 10:12 thevikas

hey. Isn't that the 'strapi::logger' middleware? if so, have you tried disable it?

gabrielcipriano avatar Jan 19 '23 23:01 gabrielcipriano