I have a problem with webdriver.io loglevel setting. If I set logLevel: info (or debug or trace) I see all get/post queries. If I set loglevel less verbose (warn/error) I don't see any query. What I want is to cut DATA part of the log to let's say 50 symbols. Where to dig for a solution. Should I override a logger or some EventListener class(to implement onPost method and add my custom logging)? If yes, then which one?
question from:https://stackoverflow.com/questions/65935423/how-to-cut-webdriver-io-logquery-data-part