Bug 205683

Summary: Reformat WebProcessCache logging
Product: WebKit Reporter: Keith Rollin <krollin>
Component: WebKit Misc.Assignee: Keith Rollin <krollin>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=205679
Attachments:
Description Flags
Patch none

Description Keith Rollin 2020-01-02 00:28:07 PST
Update the format used by WebProcessCache in its RELEASE_LOG logging. Use the format used by WebPageProxy and NetworkResourceLoader, which is generally of the form:

    <object-address> - [<values that help thread together operations>] <class>::<method>: <message and other useful values>

So, for example:

    0x1145ed208 - WebProcessCache::canCacheProcess(): Not caching process 83671 because it does not have an associated registrable domain

becomes:

    0x1145ed208 - [PID=83671] WebProcessCache::canCacheProcess: Not caching process because it does not have an associated registrable domain
Comment 1 Radar WebKit Bug Importer 2020-01-02 00:28:16 PST
<rdar://problem/58269352>
Comment 2 Keith Rollin 2020-01-02 00:30:02 PST
Created attachment 386598 [details]
Patch
Comment 3 WebKit Commit Bot 2020-01-02 13:43:36 PST
Comment on attachment 386598 [details]
Patch

Clearing flags on attachment: 386598

Committed r253981: <https://trac.webkit.org/changeset/253981>
Comment 4 WebKit Commit Bot 2020-01-02 13:43:38 PST
All reviewed patches have been landed.  Closing bug.