Skip to content

fix: increase recent logs buffer#9143

Merged
yury-s merged 2 commits into
microsoft:masterfrom
yury-s:browser-log-len
Sep 25, 2021
Merged

fix: increase recent logs buffer#9143
yury-s merged 2 commits into
microsoft:masterfrom
yury-s:browser-log-len

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented Sep 24, 2021

Sometimes top part of the stack is trimmed in the log, like here

@yury-s yury-s added the CQ1 label Sep 24, 2021
Comment thread src/utils/debugLogger.ts Outdated
export const debugLogger = new DebugLogger();

const kLogCount = 50;
const kLogCount = 500;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's quite spammy, how about 150?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already set it to 500 before (#6332) but I'm fine with 150 too 😁

@yury-s yury-s merged commit 45b365d into microsoft:master Sep 25, 2021
@yury-s yury-s deleted the browser-log-len branch September 25, 2021 00:28
sidharthv96 added a commit to sidharthv96/playwright that referenced this pull request Sep 28, 2021
* upstream/master: (26 commits)
  browser(webkit): disable COOP support (microsoft#9185)
  fix(test runner): proper serial mode with beforeAll/afterAll failures (microsoft#9183)
  chore: remove browserType.connect from .net - not yet ready (microsoft#9182)
  test: canvas updates are reflected on screenshots (microsoft#9180)
  chore: dedupe return types in the dotnet api generator (microsoft#9181)
  docs: mention empty string in `userDataDir` (microsoft#9069)
  feat(expect): toContainText(array) (microsoft#9160)
  chore: enable object-curly-spacing in ESLint (microsoft#9168)
  feat(chromium): roll to r925110 (microsoft#9175)
  chore: render expect in trace viewer (microsoft#9141)
  devops: use Node.js 16 when rolling browsers
  docs(python): add docs about threading (microsoft#8829)
  browser(chromium): roll to r925110 (microsoft#9171)
  chore(test-runner): launch -> webServer (microsoft#9167)
  docs: cleanup test.describe.parallel.only doc (microsoft#9159)
  chore: remove FatalDOMError (microsoft#9119)
  feat(test runner): improve fixture typings for function fixtures (microsoft#9138)
  fix(expect): produce "waiting for selector" log, corner cases (microsoft#9140)
  fix: increase recent logs buffer (microsoft#9143)
  test: unflake a few tests (microsoft#9142)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants