|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen stable-4.16] tools/oxenstored: Log live update issues at warning level
commit 724d003ecc23539543bbc118b84d33c1f2fcf7c4
Author: Edwin Török <edvin.torok@xxxxxxxxxx>
AuthorDate: Tue Nov 8 08:57:47 2022 +0000
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Mon Dec 12 11:04:12 2022 +0000
tools/oxenstored: Log live update issues at warning level
During live update, oxenstored tries a best effort approach to recover as
many
domains and information as possible even if it encounters errors restoring
some domains.
However, logging about misunderstood input is more severe than simply info.
Log it at warning instead.
Signed-off-by: Edwin Török <edvin.torok@xxxxxxxxxx>
Acked-by: Christian Lindig <christian.lindig@xxxxxxxxxx>
(cherry picked from commit 3f02e0a70fe9f8143454b742563433958d4a87f8)
---
tools/ocaml/xenstored/xenstored.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/ocaml/xenstored/xenstored.ml
b/tools/ocaml/xenstored/xenstored.ml
index f526f4fb23..35b8cbd43f 100644
--- a/tools/ocaml/xenstored/xenstored.ml
+++ b/tools/ocaml/xenstored/xenstored.ml
@@ -186,9 +186,9 @@ let from_channel_f chan global_f evtchn_f socket_f domain_f
watch_f store_f =
(Perms.Node.of_string (unhexify
perms ^ "\000"))
(unhexify value)
| _ ->
- info "restoring: ignoring unknown line:
%s" line
+ warn "restoring: ignoring unknown line:
%s" line
with exn ->
- info "restoring: ignoring unknown line: %s
(exception: %s)"
+ warn "restoring: ignoring unknown line: %s
(exception: %s)"
line (Printexc.to_string exn);
()
with End_of_file ->
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.16
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |