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.

Progress reporter: log line hidden by 'progress bar'

See original GitHub issue

Describe the bug β€œprogress” reporter β€˜progress bar’ is hiding last line of log.

Expected behavior last line visible above β€˜progress bar’

Desktop (please complete the following information):

  • OS: Windows 11
  • Type of project: class library
  • Framework Version: net48
  • Stryker Version: 3.8.2

Additional context

log line directly after [14:24:10 INF] 67 total mutants will be tested is hidden by white β€˜progress bar’ (i know there is one, because it was briefly visible)

[14:24:10 INF] 67    total mutants will be tested
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
97,01% β”‚ Testing mutant 65 / 67 β”‚ K 40 β”‚ S 16 β”‚ T 9 β”‚ ~0m 01s β”‚                                              00:02:43                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

Issue Analytics

  • State:open
  • Created 4 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rouke-broersmacommented, May 19, 2023

@CzBuCHi I think more realistic we should not be using logger at all in these scenarios but rather Ansi Console. We’re kinda mixing logging and informational user facing messages here which I think at this point is no longer a good idea. But that’s a big change.

0reactions
CzBuCHicommented, May 19, 2023

@dupdob just did some debugging of unrelated issue and i think that progress is hiding other lines, because is writing to the same vertical position disregarding all future _logger.Log* calls from other threads. (if i put breakpoint after _logger.Log* call i can see message in console, because progress didnt had time to redraw itself yet)

so im thinking, that _logger.Log* call should trigger event, that will advance progress vertical position and that should result in _logger.Log* message written above progress …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suppress capturing progress bar updates into the log file [R]
I would like to save into the log file only the error message (if it would be thrown for some reason - my...
Read more >
Disabling visibility of progress Β· Issue #110 Β· Textualize/rich
I'd like to have a progress bar indicating what the application is doing, but replace this line with the search results after completion....
Read more >
Progress Display β€” Rich 13.5.2 documentation
Rich progress display supports multiple tasks, each with a bar and progress ... To see how the progress display looks, try this from...
Read more >
Progress bar and status logging in python with tqdm
The idea behind this β€œhack” is to use progress bars for the status logging by removing everything but the description field. This way...
Read more >
Progress bar won't disappear when full screen
My issue is with the video player. The progress bar (or tracking bar? the bar at the bottom of the player) doesn't disappear...
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