X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Ffile.c;h=7aa15b27578febc80fef647d6933e7188a059ec4;hb=3f7d4d90b0456de9d34fac337350818ef06163bd;hp=585faef876d6f6e03ebd1c0de1b283cf396af37d;hpb=44ced4ff8e8b5e46ef03f3aec737fca5ca2c7003;p=babeltrace.git diff --git a/src/plugins/ctf/fs-src/file.c b/src/plugins/ctf/fs-src/file.c index 585faef8..7aa15b27 100644 --- a/src/plugins/ctf/fs-src/file.c +++ b/src/plugins/ctf/fs-src/file.c @@ -85,7 +85,7 @@ int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode) int ret = 0; struct stat stat; - BT_LOGD("Opening file \"%s\" with mode \"%s\"", file->path->str, mode); + BT_LOGI("Opening file \"%s\" with mode \"%s\"", file->path->str, mode); file->fp = fopen(file->path->str, mode); if (!file->fp) { BT_LOGE("Cannot open file \"%s\" with mode \"%s\": %s", @@ -93,7 +93,7 @@ int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode) goto error; } - BT_LOGD("Opened file: %p", file->fp); + BT_LOGI("Opened file: %p", file->fp); if (fstat(fileno(file->fp), &stat)) { BT_LOGE("Cannot get file information: %s", strerror(errno)); @@ -101,7 +101,7 @@ int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode) } file->size = stat.st_size; - BT_LOGD("File is %jd bytes", (intmax_t) file->size); + BT_LOGI("File is %jd bytes", (intmax_t) file->size); goto end; error: