Skip to content

[PBCKP-129] change catchup logging levels #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[PBCKP-129] change catchup logging levels verbosity:
INFO – common information
LOG – same as INFO + info about files
VERBOSE – same as LOG + info about block and SQL queries
  • Loading branch information
kulaginm committed May 23, 2022
commit 274c325cdffa1f3dfad876c0cebe1ec07b99e129
8 changes: 4 additions & 4 deletions src/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ dir_check_file(pgFile *file, bool backup_logs)
pgdata_exclude_files_non_exclusive[i]) == 0)
{
/* Skip */
elog(VERBOSE, "Excluding file: %s", file->name);
elog(LOG, "Excluding file: %s", file->name);
return CHECK_FALSE;
}
}
Expand All @@ -645,7 +645,7 @@ dir_check_file(pgFile *file, bool backup_logs)
if (strcmp(file->rel_path, pgdata_exclude_files[i]) == 0)
{
/* Skip */
elog(VERBOSE, "Excluding file: %s", file->name);
elog(LOG, "Excluding file: %s", file->name);
return CHECK_FALSE;
}
}
Expand All @@ -665,7 +665,7 @@ dir_check_file(pgFile *file, bool backup_logs)
/* exclude by dirname */
if (strcmp(file->name, pgdata_exclude_dir[i]) == 0)
{
elog(VERBOSE, "Excluding directory content: %s", file->rel_path);
elog(LOG, "Excluding directory content: %s", file->rel_path);
return CHECK_EXCLUDE_FALSE;
}
}
Expand All @@ -675,7 +675,7 @@ dir_check_file(pgFile *file, bool backup_logs)
if (strcmp(file->rel_path, PG_LOG_DIR) == 0)
{
/* Skip */
elog(VERBOSE, "Excluding directory content: %s", file->rel_path);
elog(LOG, "Excluding directory content: %s", file->rel_path);
return CHECK_EXCLUDE_FALSE;
}
}
Expand Down