This commit is contained in:
Joe 2026-01-31 13:22:29 -06:00
parent 5f91a0777a
commit 3e6a50ce4b
5 changed files with 7 additions and 22 deletions

View file

@ -182,7 +182,7 @@ function ApiContext:write(patch)
for _ in pairs(patch.added) do
addedCount += 1
end
-- Only log summary at debug level to reduce verbosity
if #patch.removed > 0 or addedCount > 0 or #patch.updated > 0 then
Log.debug(

View file

@ -124,9 +124,9 @@ function NotConnectedPage:render()
}),
}),
Connect = e(TextButton, {
text = "Sync",
style = "Solid",
Connect = e(TextButton, {
text = "Sync",
style = "Solid",
transparency = self.props.transparency,
layoutOrder = 2,
onClick = self.props.onConnect,

View file

@ -272,12 +272,7 @@ encodeInstance = function(instance, parentId, _skipPathCheck)
for _ in pairs(properties) do
propCount += 1
end
Log.trace(
" Encoded {} with {} properties, {} children",
instance.Name,
propCount,
#children
)
Log.trace(" Encoded {} with {} properties, {} children", instance.Name, propCount, #children)
return {
parent = parentId,

View file

@ -112,12 +112,7 @@ function ChangeBatcher:__flush()
for _ in pairs(patch.added) do
addedCount += 1
end
Log.debug(
"Two-way sync: {} updates, {} additions, {} removals",
#patch.updated,
addedCount,
#patch.removed
)
Log.debug("Two-way sync: {} updates, {} additions, {} removals", #patch.updated, addedCount, #patch.removed)
return patch
end

View file

@ -680,12 +680,7 @@ function ServeSession:__confirmAndApplyInitialPatch(catchUpPatch, serverInfo)
ignoreCount += 1
end
end
Log.debug(
"User selections: {} push, {} pull, {} ignored",
pushCount,
pullCount,
ignoreCount
)
Log.debug("User selections: {} push, {} pull, {} ignored", pushCount, pullCount, ignoreCount)
-- Build partial patches based on selections
local pushPatch = PatchSet.newEmpty() -- Items to apply to Studio