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
This commit is contained in:
Mike Blumenkrantz 2019-05-29 09:16:30 -04:00
parent 0f5cec8d51
commit 655c816539
1 changed files with 1 additions and 1 deletions

View File

@ -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);