From f6e1bcdb288061d99dd9986ec264111d117ab7ab Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Tue, 23 Apr 2019 19:46:08 +0300 Subject: [PATCH] add elog message about external directories --- src/dir.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/dir.c b/src/dir.c index 6d0b0fc1..781f08ac 100644 --- a/src/dir.c +++ b/src/dir.c @@ -1243,10 +1243,8 @@ check_tablespace_mapping(pgBackup *backup) /* Sort links by the path of a linked file*/ parray_qsort(links, pgFileCompareLinked); - if (logger_config.log_level_console <= LOG || - logger_config.log_level_file <= LOG) - elog(LOG, "check tablespace directories of backup %s", - base36enc(backup->start_time)); + elog(LOG, "check tablespace directories of backup %s", + base36enc(backup->start_time)); /* 1 - each OLDDIR must have an entry in tablespace_map file (links) */ for (cell = tablespace_dirs.head; cell; cell = cell->next) @@ -1294,6 +1292,9 @@ check_external_dir_mapping(pgBackup *backup) parray *external_dirs_to_restore; int i; + elog(LOG, "check external directories of backup %s", + base36enc(backup->start_time)); + if (!backup->external_dir_str) { if (external_remap_list.head)