summaryrefslogtreecommitdiffstats
path: root/src/fuzz/fuzz-time-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzz/fuzz-time-util.c')
-rw-r--r--src/fuzz/fuzz-time-util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fuzz/fuzz-time-util.c b/src/fuzz/fuzz-time-util.c
index 8e6cb8553b..5be2e4f1dd 100644
--- a/src/fuzz/fuzz-time-util.c
+++ b/src/fuzz/fuzz-time-util.c
@@ -9,8 +9,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
_cleanup_free_ char *str = NULL;
usec_t usec;
- if (!getenv("SYSTEMD_LOG_LEVEL"))
- log_set_max_level(LOG_CRIT);
+ fuzz_setup_logging();
assert_se(str = memdup_suffix0(data, size));