gfio: Add support for sending logs over the network
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index 5d7c5ab76edcb481edd646920c5b3bde2944333c..88adbf7fb62720224fa6b0dd566067e77cb6855d 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -535,6 +535,10 @@ void finish_log_named(struct thread_data *td, struct io_log *log,
 
        snprintf(file_name, 200, "%s_%s.log", prefix, postfix);
        p = basename(file_name);
+
+       if (td->client_type == FIO_CLIENT_TYPE_GUI)
+               fio_send_iolog(td, log, p);
+
        __finish_log(log, p);
 }