question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

i did a little POC locally to test if showing logs alongside of the video is possible without much change. my findings is that it would only require a minor change in selenoid for the websocket stream logs https://github.com/aerokube/selenoid/blob/master/selenoid.go#L664

wsconn.PayloadType = websocket.TextFrame
fc, err := ioutil.ReadFile(path.Clean(logOutputDir + "/" + sid + ".log"))
if err != nil {
  log.Printf("[%d] [LOG_NOT_FOUND] [%s]", requestId, err)
	return
}
websocket.Message.Send(wsconn, string(fc))

and then add the Log component in the video ui. to get an output like this:

Screen Shot 2020-06-29 at 12 47 43 PM

keep in mind this is just a proof of concept so is not pretty 😛 i wanted to check if this is something the project wants to support moving forward.

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lanwencommented, Jul 2, 2020

dont see the reason as well - isn’t better to just download log and open that in a full terminal, where you can search, edit and expand full screen?

I wouldn’t go in this direction, but thx for the PoC 😃 was interesting

0reactions
eacevedo79commented, Jul 2, 2020

@vania-pooh the log component in the ui uses the websocket to show the xtern like ui, I’m not sure how much work would be to build a new component that uses the http endpoint, but it should be possible right @lanwen ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Videolog - PennDOT
This web site is for informational purposes only and may be viewed by anyone. The VideoLog information is provided "as is" without warranty...
Read more >
Vlog - Wikipedia
A video blog or video log, sometimes shortened to vlog (/vlɒɡ/), is a form of blog for which the medium is video. ......
Read more >
#videologs - YouTube
Story @ 39.56 | SUPERBstory Daily Morning ritual 30th Dec VLOG Video Blog | Dr. Sachin SUPERBHUMANS · SUPERBHUMANS. SUPERBHUMANS.
Read more >
Mapillary (Video Logs) - Road Imagery Viewer
Mapillary (Video Logs) - Road Imagery Viewer · View current and historic (up to 5 years) synchronized right-of-way images on VTrans official Linear...
Read more >
#videologs hashtag on Instagram • Photos and Videos
470 Posts - See Instagram photos and videos from 'videologs' hashtag. ... RDA Video Logs in my opinion are a very key-point important...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found