Skip to content

Commit 3d7631c

Browse files
committed
Header change
1 parent 44cbd80 commit 3d7631c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/Winget-AutoUpdate/functions/Invoke-LogRotation.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ function Invoke-LogRotation {
9292

9393
# Log actions
9494
if ($logrotate) {
95-
Write-ToLog "### Max Standard log size reached: $MaxLogSize bytes - Rotated Logs ###"
95+
Write-ToLog "Max Standard log size reached: $MaxLogSize bytes - Rotated Logs" -IsHeader
9696
}
9797
if ($CM_logrotate) {
98-
Write-ToLog "### Max CM log size reached: $MaxLogSize bytes - Rotated CM Logs ###"
98+
Write-ToLog "Max CM log size reached: $MaxLogSize bytes - Rotated CM Logs" -IsHeader
9999
}
100100

101101
# end of try block

Sources/Winget-AutoUpdate/functions/Write-ToLog.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function Write-ToLog {
125125

126126
# Set a small header for CM/Event log
127127
if ($UseCMLog -or $UseEventLog) {
128-
$LogMsg = "### $LogMsg ###"
128+
$LogMsg = "### $LogMsg ###"
129129
}
130130
}
131131
else {

0 commit comments

Comments
 (0)