Title: [281596] trunk
- Revision
- 281596
- Author
- [email protected]
- Date
- 2021-08-25 15:52:42 -0700 (Wed, 25 Aug 2021)
Log Message
Add command to enable logging in the docs
https://bugs.webkit.org/show_bug.cgi?id=229419
Reviewed by Dean Jackson.
* Introduction.md:
Modified Paths
Diff
Modified: trunk/ChangeLog (281595 => 281596)
--- trunk/ChangeLog 2021-08-25 22:45:58 UTC (rev 281595)
+++ trunk/ChangeLog 2021-08-25 22:52:42 UTC (rev 281596)
@@ -1,3 +1,12 @@
+2021-08-25 Myles C. Maxfield <[email protected]>
+
+ Add command to enable logging in the docs
+ https://bugs.webkit.org/show_bug.cgi?id=229419
+
+ Reviewed by Dean Jackson.
+
+ * Introduction.md:
+
2021-08-20 Carlos Alberto Lopez Perez <[email protected]>
REGRESSION(r274166): [GTK] It broke run-_javascript_core-tests causing all tests to use lot of memory
Modified: trunk/Introduction.md (281595 => 281596)
--- trunk/Introduction.md 2021-08-25 22:45:58 UTC (rev 281595)
+++ trunk/Introduction.md 2021-08-25 22:52:42 UTC (rev 281596)
@@ -1427,12 +1427,14 @@
### macOS
-On macOS, you can supply these strings with these terminal commands:
+On macOS, you can, for example, enable the `Language` log channel with these terminal commands:
```
-% defaults write com.apple.WebKit.WebContent WTFLogging "Threading"
-% defaults write com.apple.WebKit.WebContent WebCoreLogging "WebGL"
-% defaults write com.apple.WebKit.WebContent WebKit2Logging "ResourceLoadStatistics"
+for identifier in com.apple.WebKit.WebContent.Development com.apple.WebKit.WebContent org.webkit.MiniBrowser com.apple.WebKit.WebKitTestRunner org.webkit.DumpRenderTree -g /Users/$USER/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist; do
+ for key in WTFLogging WebCoreLogging WebKitLogging WebKit2Logging; do
+ defaults write ${identifier} "${key}" "Language"
+ done
+done
```
You may also need to specify these strings to `com.apple.WebKit.WebContent.Development`, the global domain, or the Safari container, depending on what you're running.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes