Hide network requests in command log (question from Patterns webinar) #734
-
Hi.. this is the question I asked during the Patterns and Practices webinar |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Can you share the specific code snippet of your before hook? |
Beta Was this translation helpful? Give feedback.
-
Hi @amirrustam ... sure! This is my custom command from where I seed the db using and endpoint created just for that
And this is my spec file's hooks section
And this is what I see in the command log (I would like to hide all those "seeding requests") Thanks!!! |
Beta Was this translation helpful? Give feedback.
-
Hi @amirrustam ... just checking if you guys have come across any more people asking for something like this and if there is any way to achieve it (not that I desperately need it, just curious.. in fact, the project I was working one while making this question is finished... no hurries) Thanks! |
Beta Was this translation helpful? Give feedback.
-
@jprealini only individual commands can have their logging disabled. Network requests will currently always display within the command log. |
Beta Was this translation helpful? Give feedback.
@jprealini only individual commands can have their logging disabled. Network requests will currently always display within the command log.