Closed Bug 1666370 Opened 4 years ago Closed 4 years ago

Clangd's default log level should be "info", not "error"

Categories

(Developer Infrastructure :: Developer Environment Integration, task)

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: botond, Assigned: botond)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As Mozilla developers start using clangd, some may run into configuration issues or other bugs that need to be ironed out.

The logging produced by clangd at the default log level of info is invaluable to helping figure out such issues.

Currently, mach ide vscode generates a .vscode/settings.json that includes --log=error in the clangd arguments, which significant decreases the amount of logs produced.

I think we should keep it at its default value of info. I use this in production, and I haven't found the quantity of logs to be an issue in any way.

Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa0e03094a4b
Use --log=info rather than --log=error for clangd. r=andi
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: