tree-wide: Use log_setup() everywhere
Otherwise the default log target is the console and we won't use the journal socket even if it is available.
This commit is contained in:
+1
-2
@@ -33,8 +33,7 @@ static inline void fuzz_setup_logging(void) {
|
||||
* in a fuzzing mode, so disable most of the logging. */
|
||||
log_set_assert_return_is_critical(true);
|
||||
log_set_max_level(LOG_CRIT);
|
||||
log_parse_environment();
|
||||
log_open();
|
||||
log_setup();
|
||||
}
|
||||
|
||||
/* Force value to not be optimized away. */
|
||||
|
||||
Reference in New Issue
Block a user