summaryrefslogtreecommitdiffstats
path: root/src/nspawn/fuzz-nspawn-oci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nspawn/fuzz-nspawn-oci.c')
-rw-r--r--src/nspawn/fuzz-nspawn-oci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nspawn/fuzz-nspawn-oci.c b/src/nspawn/fuzz-nspawn-oci.c
index 5d0383479b..daa478e83c 100644
--- a/src/nspawn/fuzz-nspawn-oci.c
+++ b/src/nspawn/fuzz-nspawn-oci.c
@@ -15,10 +15,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
f = data_to_file(data, size);
assert_se(f);
- /* We don't want to fill the logs with messages about parse errors.
- * Disable most logging if not running standalone */
- if (!getenv("SYSTEMD_LOG_LEVEL"))
- log_set_max_level(LOG_CRIT);
+ fuzz_setup_logging();
(void) oci_load(f, "/dev/null", &s);