Closed Bug 1645729 Opened 3 months ago Closed 3 months ago

`The log 'Services.Common.RESTRequest' is configured to use the preference 'services.common.log.logger.rest.request'` message often printed when sync configured

Categories

(Firefox :: Sync, defect)

defect

Tracking

()

RESOLVED FIXED
Firefox 79
Tracking Status
firefox79 --- fixed

People

(Reporter: markh, Assigned: markh)

Details

Attachments

(1 file)

This has been annoying me for a while so thought I should just fix it.

Specifically:

Log warning: The log 'Services.Common.RESTRequest' is configured to use the preference 'services.common.log.logger.rest.request' - you must adjust the level by setting this preference, not by using the level setter

This is because the hawkrequest module attempts to explicitly set the level
from the preference value, but these days Log.jsm manages that itself.

Also skips obtaining the log itself until it's needed, as it almost never
actually is.

Pushed by mhammond@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f05a0084c5f2
avoid printing a warning to the console about a log level's preference. r=rfkelly
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in before you can comment on or make changes to this bug.