Bug 228555 - Web Inspector: [Cocoa] Reintroduce strategic logging in RemoteInspectorCocoa that doesn't log to `stderr`
Summary: Web Inspector: [Cocoa] Reintroduce strategic logging in RemoteInspectorCocoa ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on: 228303
  Show dependency treegraph
Reported: 2021-07-28 10:15 PDT by Patrick Angle
Modified: 2021-07-28 10:15 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Angle 2021-07-28 10:15:34 PDT
r278413 added some additional logging to help diagnose issues with remote inspection. r280370 removed that logging because it occurred on `stderr`, which confused some clients of JavaScriptCore which relied on a clean `stderr` output to determine success, leading to compatibility issues with existing applications. We should reintroduce this logging using `os_log` to bypass `stderr` and log straight to the system log stream.
Comment 1 Radar WebKit Bug Importer 2021-07-28 10:15:45 PDT