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

misc: add prefix to lighthouse-logger debug scope #12806

Merged
merged 1 commit into from
Jul 20, 2021
Merged

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
Member

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
Member

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