Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9cba6d

Browse files
committed
logging
1 parentb13a44f commitc9cba6d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎Coder Desktop/VPNLib/FileSync/FileSyncDaemon.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public class MutagenDaemon: FileSyncDaemon {
6565
tryawaitconnect()
6666

6767
state=.running
68+
logger.info("mutagen daemon started")
6869
}
6970

7071
privatefunc connect()asyncthrows{
@@ -80,7 +81,9 @@ public class MutagenDaemon: FileSyncDaemon {
8081
eventLoopGroup: group!
8182
)
8283
client=Daemon_DaemonAsyncClient(channel: channel!)
83-
logger.info("Successfully connected to mutagen daemon via gRPC")
84+
logger.info(
85+
"Successfully connected to mutagen daemon, socket:\(self.mutagenDaemonSocket.path, privacy:.public)"
86+
)
8487
}catch{
8588
logger.error("Failed to connect to gRPC:\(error)")
8689
tryawaitcleanupGRPC()
@@ -124,6 +127,7 @@ public class MutagenDaemon: FileSyncDaemon {
124127
letprocess=Process()
125128
process.executableURL= mutagenPath
126129
process.arguments=["daemon","run"]
130+
logger.info("setting mutagen data directory:\(self.mutagenDataDirectory.path, privacy:.public)")
127131
process.environment=[
128132
"MUTAGEN_DATA_DIRECTORY": mutagenDataDirectory.path,
129133
]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp