summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicesyslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 5e9c386..d9b627f 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -461,7 +461,7 @@ static int start_logging(void)
return -1;
}
- fprintf(stdout, "[connected]\n");
+ fprintf(stdout, "[connected:%s]\n", udid);
fflush(stdout);
return 0;
@@ -503,7 +503,7 @@ static void device_event_cb(const idevice_event_t* event, void* userdata)
} else if (event->event == IDEVICE_DEVICE_REMOVE) {
if (syslog && (strcmp(udid, event->udid) == 0)) {
stop_logging();
- fprintf(stdout, "[disconnected]\n");
+ fprintf(stdout, "[disconnected:%s]\n", udid);
if (exit_on_disconnect) {
quit_flag++;
}