Skip to content

Commit

Permalink
cleanup log settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmclaren7 committed Aug 7, 2024
1 parent bebbe95 commit fb3c104
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SimpleBackup.au3
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ Global $TitleVersion = $Title & " v" & StringTrimLeft($Version, StringInStr($Ver

; Setup Logging
_Console_Attach() ; If it was launched from a console, attach to that console
Global $LogToFile = 0
Global $LogFileMaxSize = 512
Global $LogWindowStart = 1
Global $LogLevel = 1
If @Compiled Then
$LogFullPath = StringTrimRight(@ScriptFullPath, 4) & ".log"
_Console_Alloc()
Else
$LogLevel = 3
Global $LogTitle = "Log - " & $Title
Global $LogWindowStart = 1
EndIf

_Log("Starting " & $TitleVersion)
Expand Down

0 comments on commit fb3c104

Please sign in to comment.