File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
RsyncUI/Model/Process/Main Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,23 +56,23 @@ final class ProcessCommand {
5656
5757 sequenceTerminationTask = Task {
5858 for await _ in sequencetermination {
59- Logger . process. info ( " ProcessRsyncVer3x : Process terminated - starting potensial drain" )
59+ Logger . process. info ( " ProcessCommand : Process terminated - starting potensial drain" )
6060 sequenceFileHandlerTask? . cancel ( )
6161 try ? await Task . sleep ( nanoseconds: 50_000_000 )
6262 var totalDrained = 0
6363 while true {
6464 let data : Data = pipe. fileHandleForReading. availableData
6565 if data. isEmpty {
66- Logger . process. info ( " ProcessRsyncVer3x : Drain complete - \( totalDrained) bytes total " )
66+ Logger . process. info ( " ProcessCommand : Drain complete - \( totalDrained) bytes total " )
6767 break
6868 }
6969
7070 totalDrained += data. count
71- Logger . process. info ( " ProcessRsyncVer3x : Draining \( data. count) bytes " )
71+ Logger . process. info ( " ProcessCommand : Draining \( data. count) bytes " )
7272
7373 // IMPORTANT: Actually process the drained data
7474 if let text = String ( data: data, encoding: . utf8) {
75- Logger . process. info ( " ProcessRsyncVer3x: Drained text: \( text) " )
75+ // Logger.process.info("ProcessRsyncVer3x: Drained text: \(text)")
7676 self . output. append ( text)
7777 }
7878 }
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ final class ProcessRsyncOpenrsync {
8383
8484 // IMPORTANT: Actually process the drained data
8585 if let text = String ( data: data, encoding: . utf8) {
86- Logger . process. info ( " ProcessRsyncOpenrsync: Drained text: \( text) " )
86+ // Logger.process.info("ProcessRsyncOpenrsync: Drained text: \(text)")
8787 self . output. append ( text)
8888 }
8989 }
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ final class ProcessRsyncVer3x {
9898
9999 // IMPORTANT: Actually process the drained data
100100 if let text = String ( data: data, encoding: . utf8) {
101- Logger . process. info ( " ProcessRsyncVer3x: Drained text: \( text) " )
101+ // Logger.process.info("ProcessRsyncVer3x: Drained text: \(text)")
102102 self . output. append ( text)
103103 }
104104 }
You can’t perform that action at this time.
0 commit comments