Skip to content

How do I enable verbose 3 logs when running local tests #17

@amit-punjabi

Description

@amit-punjabi

Description- How do I generate verbose 3 logs when running local tests through this repo.

  1. I noticed that when I manually start the binary with --verbose 3 modifier as mentioned here, there is more logging generated.

Sample logs-

Connecting to BrowserStack using WebSocket protocol...
Platform supports WebSocket connections.

Press Ctrl-C to exit


DEBUG: 2019-8-20 17:18:57 UTC Request to: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:57 UTC [PARSING HANDSHAKE][2][31506556] Handshake request to www.gstatic.com:443
DEBUG: 2019-8-20 17:18:57 UTC Connecting to: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:57 UTC Request to: accounts.google.com:443
DEBUG: 2019-8-20 17:18:57 UTC [PARSING HANDSHAKE][2][31506557] Handshake request to accounts.google.com:443
DEBUG: 2019-8-20 17:18:57 UTC Connecting to: accounts.google.com:443
DEBUG: 2019-8-20 17:18:57 UTC Connected to: 172.217.27.195
DEBUG: 2019-8-20 17:18:57 UTC Connected to: 172.217.167.173
DEBUG: 2019-8-20 17:18:57 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:57 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:57 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:18:57 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: www.gstatic.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:18:58 UTC Writing response from: accounts.google.com:443
DEBUG: 2019-8-20 17:19:0 UTC Request to: www.ospserver.net:80
DEBUG: 2019-8-20 17:19:0 UTC [PARSING HANDSHAKE][2][31506596] Handshake request to www.ospserver.net:80
DEBUG: 2019-8-20 17:19:0 UTC Connecting to: www.ospserver.net:80
DEBUG: 2019-8-20 17:19:1 UTC Connected to: 213.71.30.150
DEBUG: 2019-8-20 17:19:1 UTC [PARSING REQUEST][2][31506596] GET /security/sso/initialize/time HTTP/1.1
Content-Type: text/xml
X-Sec-Dm-CustomerCode: TPA
x-osp-version: v1
User-Agent: SAMSUNG-Android
Accept: *, */*
X-Sec-Dm-DeviceModel: SM-G950F
Connection: keep-alive
Accept-Encoding: identity
  1. However, when I start the binary using language bindings with 'verbose': 'true' as mentioned here the logs generated are very limited.

Sample logs-

BrowserStackLocal v7.5

Setting output as verbose
You can now access your local server(s) in our remote browser.


Connecting to BrowserStack using WebSocket protocol...
Platform supports WebSocket connections.


Connecting to BrowserStack using WebSocket protocol...
Platform supports WebSocket connections.


Connecting to BrowserStack using WebSocket protocol...
Platform supports WebSocket connections.


Connecting to BrowserStack using WebSocket protocol...

Connecting to BrowserStack using WebSocket protocol...
Platform supports WebSocket connections.

Platform supports WebSocket connections.


Connecting to BrowserStack using WebSocket protocol...
Press Ctrl-C to exit


Platform supports WebSocket connections.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions