Closed Bug 2091043 Opened 16 days ago Closed 15 days ago

Replace prefix: with logModule: in console.createInstance calls in Enterprise files

Categories

(Enterprise Products :: Firefox, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jporter, Assigned: jporter)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Bug 2086657 replaced prefix: with logModule: in console.createInstance calls across m-c. It didn't cover files that only exist in enterprise-firefox. These three still use prefix:

  • toolkit/components/enterprise/modules/EnterpriseCommon.sys.mjs
  • browser/components/enterprisepolicies/helpers/SyncPolicy.sys.mjs
  • toolkit/modules/MachineId.sys.mjs

prefix: without logModule: is deprecated. Switching to logModule: keeps the same MOZ_LOG module names, so it doesn't change how logging is configured.

Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/cad37edfc3554ba4947468e8e92b1a0714e5009f
[enterprise-main] Bug 2091043 - Replace prefix: with logModule: in Enterprise console.createInstance calls

Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/d580e517d2c7276f8328574310e14b4821fe36e1
[enterprise-main] Merge pull request #1795 from jporter-dev/2091043-replace-prefix-with-logmodule

(via GitHub webhook, authenticated as shared-secret)

Status: NEW → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
Flags: qe-verify-
Blocks: 2091452
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: