Unbreak output buffer logging over the network
authorJens Axboe <axboe@fb.com>
Tue, 27 Oct 2015 08:44:01 +0000 (17:44 +0900)
committerJens Axboe <axboe@fb.com>
Tue, 27 Oct 2015 08:44:01 +0000 (17:44 +0900)
log_local_buf() is for the server to log locally, use
log_info_buf() to log over the specified channel.

Signed-off-by: Jens Axboe <axboe@fb.com>
lib/output_buffer.c

index da7087470ec41f131f0f03d8112086c223ab6bf8..03cd848bfd9f05aa9dbace684766503b17d6ea55 100644 (file)
@@ -39,7 +39,7 @@ size_t buf_output_flush(struct buf_output *out)
        size_t ret = 0;
 
        if (out->buflen) {
-               ret = log_local_buf(out->buf, out->buflen);
+               ret = log_info_buf(out->buf, out->buflen);
                memset(out->buf, 0, out->max_buflen);
                out->buflen = 0;
        }