From e627bd02dd556f4f7eed18fda33305e3258d9956 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 29 May 2019 09:16:30 -0400 Subject: [PATCH] eina/file: use INFO log level when eina_file_open fails Summary: this function is commonly used to detect the existence of files using its return value. for this purpose, printing warnings any time the file cannot be opened is spammy and not very helpful in the context of detecting actual errors. Depends on D8950 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8951 --- src/lib/eina/eina_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c index 827775b..cc53f65 100644 --- a/src/lib/eina/eina_file.c +++ b/src/lib/eina/eina_file.c @@ -877,7 +877,7 @@ eina_file_open(const char *path, Eina_Bool shared) return n; on_error: - WRN("Could not open file [%s].", filename); + INF("Could not open file [%s].", filename); eina_stringshare_del(filename); if (fd >= 0) close(fd); -- 2.7.4