summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/modules/test_json_parser/test_json_parser_incremental.c2
-rw-r--r--src/test/modules/test_json_parser/test_json_parser_perf.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/modules/test_json_parser/test_json_parser_incremental.c b/src/test/modules/test_json_parser/test_json_parser_incremental.c
index b2195cb8113..0bc047a4af4 100644
--- a/src/test/modules/test_json_parser/test_json_parser_incremental.c
+++ b/src/test/modules/test_json_parser/test_json_parser_incremental.c
@@ -89,6 +89,8 @@ main(int argc, char **argv)
int c;
bool need_strings = false;
+ pg_logging_init(argv[0]);
+
while ((c = getopt(argc, argv, "c:s")) != -1)
{
switch (c)
diff --git a/src/test/modules/test_json_parser/test_json_parser_perf.c b/src/test/modules/test_json_parser/test_json_parser_perf.c
index f5c0e8dd9ae..ea85626cbd8 100644
--- a/src/test/modules/test_json_parser/test_json_parser_perf.c
+++ b/src/test/modules/test_json_parser/test_json_parser_perf.c
@@ -43,6 +43,8 @@ main(int argc, char **argv)
int iter;
int use_inc = 0;
+ pg_logging_init(argv[0]);
+
initStringInfo(&json);
if (strcmp(argv[1], "-i") == 0)