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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user