5

I've read through the docs and cannot find a way to set the log level to something like "silent". I don't want to see all the detox log info. I just want to see the test output. The current log levels are:

-l, --loglevel [value] info, debug, verbose, silly, wss

Not specifying a log level defaults to info.

example:

Detox testing output

Byron
  • 1,091
  • 11
  • 27

2 Answers2

0

Remove --loglevel from you detox test --loglevel.

double-beep
  • 5,031
  • 17
  • 33
  • 41
Dai Hoang
  • 11
  • 1
0

Now there are more options - fatal, error, warn, info, verbose, trace (see docs)

detox test --loglevel fatal

Results in clean test execution output:

enter image description here

Ilarion Halushka
  • 2,083
  • 18
  • 13