Reduces log noise for monitor tab auto-scroll

Removes the log message that is generated when auto-scrolling is enabled. This reduces log spam, as this can be a frequent event.

The message for when a user manually disables auto-scrolling is retained.
This commit is contained in:
rbalsleyMSFT
2025-07-24 09:39:10 -07:00
parent 576c0a82f8
commit 0f0e8e9f98
@@ -877,7 +877,7 @@ function Register-EventHandlers {
# Update the flag # Update the flag
$localState.Flags.autoScrollLog = $isLastItemSelected $localState.Flags.autoScrollLog = $isLastItemSelected
if ($isLastItemSelected) { if ($isLastItemSelected) {
WriteLog "Monitor tab autoscroll enabled (last item selected)." # WriteLog "Monitor tab autoscroll enabled (last item selected)."
} }
else { else {
WriteLog "Monitor tab autoscroll disabled (user selected item #$($listBox.SelectedIndex))." WriteLog "Monitor tab autoscroll disabled (user selected item #$($listBox.SelectedIndex))."