summaryrefslogtreecommitdiffstats
path: root/src/fuzz/fuzz-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzz/fuzz-json.c')
-rw-r--r--src/fuzz/fuzz-json.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fuzz/fuzz-json.c b/src/fuzz/fuzz-json.c
index c83ec83328..3d6d689f28 100644
--- a/src/fuzz/fuzz-json.c
+++ b/src/fuzz/fuzz-json.c
@@ -14,9 +14,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
FILE *g = NULL;
int r;
- /* Disable most logging if not running standalone */
- if (!getenv("SYSTEMD_LOG_LEVEL"))
- log_set_max_level(LOG_CRIT);
+ fuzz_setup_logging();
f = data_to_file(data, size);
assert_se(f);