Skip to content

Conversation

@patrickhulce
Copy link
Collaborator

@patrickhulce patrickhulce commented Jul 20, 2021

Summary
Fixes our longstanding disrespect for other packages logging ;) Prefixes all of our log messages with LH: so that it does not clobber the other prefixes using the same instance of debug (like puppeteer).

Will require immediate followup with a publish and version bump in our own deps.

Note that the impact of this is more limited than it appears because we are using an ancient debug, so most modern packages get their own instance :)

Related Issues/PRs
ref #12805 #11313

@brendankenny
Copy link
Contributor

Will require immediate followup with a publish and version bump in our own deps

Chrome launcher too, unfortunately (unless that's what you were already referring to)

@patrickhulce
Copy link
Collaborator Author

Chrome launcher too, unfortunately

I don't think we'll need that. Its version requirement is fairly loose, bumping our own yarn.lock should resolve to the same.

https://github.com/GoogleChrome/chrome-launcher/blob/7907523888f2c1cebc009235c5a8dd992d73d3e2/package.json#L29

@brendankenny
Copy link
Contributor

Oh right, yes, carry on :)

@connorjclark connorjclark changed the title deps(lighthouse-logger): add LH: prefix to scope misc: add prefix to lighthouse-logger debug scope Jul 20, 2021
@patrickhulce patrickhulce merged commit 52287af into master Jul 20, 2021
@patrickhulce patrickhulce deleted the lh_logger_fix branch July 20, 2021 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants