util/log: Remove log_error, replace occurances with log_warning

log_error was using the log_writer_fatal impl which conflicts with
how this is used on AVS. Therefore, achieve a visible "error"
message in inject by using log_warning + ERROR string in the message
This commit is contained in:
icex2
2020-09-02 19:53:07 +00:00
parent afba1d5a39
commit 2280e17f1e
4 changed files with 31 additions and 33 deletions
+2 -2
View File
@@ -185,8 +185,8 @@ bool logger_init(const char *log_file_path)
log_info("Log file: %s", log_file_path);
if (!log_file) {
log_error(
"Opening log file %s failed: %s",
log_warning(
"ERROR: Opening log file %s failed: %s",
log_file_path,
strerror(errno));
return false;