File tree 1 file changed +8
-3
lines changed
Coder Desktop/VPNLib/FileSync
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class MutagenDaemon: FileSyncDaemon {
16
16
17
17
@Published public var state : DaemonState = . stopped {
18
18
didSet {
19
- logger. info ( " daemon state changed: \( self . state. description) " )
19
+ logger. info ( " daemon state changed: \( self . state. description, privacy : . public ) " )
20
20
}
21
21
}
22
22
@@ -72,7 +72,12 @@ public class MutagenDaemon: FileSyncDaemon {
72
72
}
73
73
74
74
state = . running
75
- logger. info ( " mutagen daemon started, pid: \( self . mutagenProcess? . processIdentifier. description ?? " unknown " ) " )
75
+ logger. info (
76
+ """
77
+ mutagen daemon started, pid:
78
+ \( self . mutagenProcess? . processIdentifier. description ?? " unknown " , privacy: . public)
79
+ """
80
+ )
76
81
}
77
82
78
83
private func connect( ) async throws ( DaemonError) {
@@ -164,7 +169,7 @@ public class MutagenDaemon: FileSyncDaemon {
164
169
165
170
private nonisolated func logOutput( pipe: FileHandle ) {
166
171
if let line = String ( data: pipe. availableData, encoding: . utf8) , line != " " {
167
- logger. info ( " \( line) " )
172
+ logger. info ( " \( line, privacy : . public ) " )
168
173
}
169
174
}
170
175
}
You can’t perform that action at this time.
0 commit comments