diff --git a/CHANGELOG.md b/CHANGELOG.md
index a777852f..0aca1dce 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Added a "hint" in the error message when playing a video and login is required.
+- Various performance improvements
## [0.40.2] - 2025-06-12
diff --git a/playlet-app/src/components/BootstrapScene/BootstrapScene.xml b/playlet-app/src/components/BootstrapScene/BootstrapScene.xml
index 04a32c73..9d72279d 100644
--- a/playlet-app/src/components/BootstrapScene/BootstrapScene.xml
+++ b/playlet-app/src/components/BootstrapScene/BootstrapScene.xml
@@ -5,6 +5,7 @@
+
diff --git a/playlet-app/src/source/Main.bs b/playlet-app/src/source/Main.bs
index 157405a3..37ba603d 100644
--- a/playlet-app/src/source/Main.bs
+++ b/playlet-app/src/source/Main.bs
@@ -51,11 +51,7 @@ function Main(args as object) as void
systemLog = CreateObject("roSystemLog")
systemLog.SetMessagePort(port)
- ' Although all types are enabled, they are filtered in Playlet Lib to avoid spamming the logs
- systemLog.EnableType("http.connect")
- systemLog.EnableType("http.error")
- systemLog.EnableType("http.complete")
- systemLog.EnableType("bandwidth.minute")
+ scene.ObserveField("enableSystemLogType", port)
#if DEBUG
' The following comment is to enable the SceneGraph inspector
@@ -83,6 +79,9 @@ function Main(args as object) as void
if field = "exitChannel" and data = true
return
end if
+ if field = "enableSystemLogType"
+ systemLog.EnableType(data)
+ end if
else if msgType = "roInputEvent"
scene.inputArgs = msg.getInfo()
end if
diff --git a/playlet-lib/src/components/Logger/Logger.bs b/playlet-lib/src/components/Logger/Logger.bs
index 43239fbb..76258ae2 100644
--- a/playlet-lib/src/components/Logger/Logger.bs
+++ b/playlet-lib/src/components/Logger/Logger.bs
@@ -12,6 +12,14 @@ function Init()
scene = m.top.getScene()
MessagePortUtils.ObserveFieldScopedExSafe(scene, "systemLogEvent", port)
+ if scene.hasField("enableSystemLogType")
+ scene.enableSystemLogType = "http.error"
+ #if DEBUG
+ scene.enableSystemLogType = "http.connect"
+ scene.enableSystemLogType = "http.complete"
+ scene.enableSystemLogType = "bandwidth.minute"
+ #end if
+ end if
m.port = port