mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-09-01 02:35:01 +00:00
journal.c: reduce severity of message when failing to opening old records
The default configuration for telemetry is to not store records that were successfully sent. This would result in a multitude of errors when calling the journal program with --include_record, as the records no longer existed to open. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
This commit is contained in:
committed by
ajch
parent
48527a343b
commit
ad4dde288b
@@ -417,7 +417,7 @@ static void print_record(char *record_id)
|
||||
|
||||
recordfp = fopen(filepath, "r");
|
||||
if (!recordfp) {
|
||||
telem_perror("Error when opening a record to print");
|
||||
telem_log(LOG_INFO, "Could not open record %s: %s\n", record_id, strerror(errno));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user