diff options
Diffstat (limited to 'src/udev/log.c')
-rw-r--r-- | src/udev/log.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/udev/log.c b/src/udev/log.c index 63578683ab..5c07b626c2 100644 --- a/src/udev/log.c +++ b/src/udev/log.c @@ -805,26 +805,6 @@ int log_set_max_level_from_string(const char *e) { return 0; } -void log_parse_environment(void) { - const char *e; - - e = secure_getenv("SYSTEMD_LOG_TARGET"); - if (e && log_set_target_from_string(e) < 0) - log_warning("Failed to parse log target %s. Ignoring.", e); - - e = secure_getenv("SYSTEMD_LOG_LEVEL"); - if (e && log_set_max_level_from_string(e) < 0) - log_warning("Failed to parse log level %s. Ignoring.", e); - - e = secure_getenv("SYSTEMD_LOG_COLOR"); - if (e && log_show_color_from_string(e) < 0) - log_warning("Failed to parse bool %s. Ignoring.", e); - - e = secure_getenv("SYSTEMD_LOG_LOCATION"); - if (e && log_show_location_from_string(e) < 0) - log_warning("Failed to parse bool %s. Ignoring.", e); -} - LogTarget log_get_target(void) { return log_target; } |