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@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
(cherry picked from commit
3f02e0a70fe9f8143454b742563433958d4a87f8)
(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 ->