I am using WebdriverIO version 5 and would like to see the logs of my test run.
I tried the command: npm run rltest --logLevel=info, but all I can see is the output of the spec reporter.
[chrome 83.0.4103.116 Mac OS X #0-0] Running: chrome (v83.0.4103.116) on Mac OS X
[chrome 83.0.4103.116 Mac OS X #0-0] Session ID: 16d526a6b3cc51f54110024b112b247c
[chrome 83.0.4103.116 Mac OS X #0-0]
[chrome 83.0.4103.116 Mac OS X #0-0] cancel button
[chrome 83.0.4103.116 Mac OS X #0-0] ✓ Verify that when the user clicks on the Cancel
button, no changes made to the list
[chrome 83.0.4103.116 Mac OS X #0-0]
[chrome 83.0.4103.116 Mac OS X #0-0] 1 passing (36.2s)
Is there a way to see more detailed logs? Do I need to configure anything inside wdio.conf.js?
Thanks

Check documentation - logLevel
So basically you need to setup this property in
wdio.conf.js: