Skip to content

Commit efb1691

Browse files
johnelsezli
authored andcommitted
CA-89978: Log the location(s) from which we're attempting to read the db.
Signed-off-by: John Else <[email protected]>
1 parent 29e033d commit efb1691

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ocaml/xapi/xapi.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ let populate_db backend =
7777
then [ Parse_db_conf.make Xapi_globs.db_temporary_restore_path ]
7878
else output_connections
7979
in
80+
debug "Attempting to populate database from one of these locations: [%s]"
81+
(String.concat "; "
82+
(List.map (fun conn -> conn.Parse_db_conf.path) input_connections));
8083
Db_cache_impl.make backend input_connections schema;
8184
Db_cache_impl.sync output_connections (Db_ref.get_database backend);
8285
(* Delete the temporary restore file so that we don't revert to it again at next startup. *)

0 commit comments

Comments
 (0)