Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Level Logging for next version of Sel4 #8625

Closed
Dharin-shah opened this issue Aug 11, 2020 · 3 comments
Closed

Request Level Logging for next version of Sel4 #8625

Dharin-shah opened this issue Aug 11, 2020 · 3 comments
Labels

Comments

@Dharin-shah
Copy link
Contributor

🚀 Feature Proposal

As with selenium 3, where we had sufficient request-level logs
10:08:27.824 DEBUG [94] org.apache.http.headers - http-outgoing-8 << Content-Length:70 10:08:27.824 DEBUG [94] org.apache.http.headers - http-outgoing-8 << Content-Type:application/json; charset=utf-8 10:08:27.824 DEBUG [94] org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive indefinitely 10:08:27.824 DEBUG [94] org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 8][route: {}->http://localhost:46968] can be kept alive indefinitely 10:08:27.824 DEBUG [94] org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 8][route: {}->http://localhost:46968][total kept alive: 1; route allocated: 1 of 2000; total allocated: 1 of 2000] 10:08:27.824 DEBUG [94] org.openqa.selenium.remote.RemoteWebDriver - Executed: [baca5b89d9596392e4e194ab9767a9b2, getLog {type=browser}] 10:08:27.824 INFO [16] org.openqa.selenium.remote.server.DriverServlet - Done: [fetching logs for: browser] 10:08:27.824 DEBUG [16] org.openqa.selenium.remote.server.DriverServlet - Finished: POST /session/deed0755-efa9-42a8-8d83-7ab9c7c7904f/log 10:08:27.827 DEBUG [16] org.openqa.selenium.remote.server.DriverServlet - Handling: DELETE /session/deed0755-efa9-42a8-8d83-7ab9c7c7904f 10:08:27.827 INFO [16] org.openqa.selenium.remote.server.DriverServlet - Executing: [delete session: deed0755-efa9-42a8-8d83-7ab9c7c7904f]) 10:08:27.828 DEBUG [94] org.openqa.selenium.remote.RemoteWebDriver - Executing: quit [baca5b89d9596392e4e194ab9767a9b2, quit {}]

Motivation

We at browserstack provide selenium logs as a feature. For selenium alpha6

we only have certain logs available
18:24:38.337 INFO [Standalone.execute] - Started Selenium standalone 4.0.0-alpha-6 (revision 5f43a29cfc*): http://103.126.7.157:5555 Starting ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) on port 40946 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. 18:24:41.358 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C

Example

Provided above

@dratler
Copy link
Contributor

dratler commented Sep 20, 2020

Hi ,
what verbus do you want to support ?
and is this open for grab ?

@pujagani
Copy link
Contributor

With the logs instrumented as part of #6694 and event logs landed as part of #8583, sufficient information will be present regarding request and response in the log. It also covers important details for any major operation. Do you think this issue is still valid? @Dharin-shah

@Dharin-shah
Copy link
Contributor Author

Closing as feature already implemented

@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants