summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-24 03:07:06 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-24 03:07:06 +0200
commit541d6159c6b82c6786730d70b761d1aefffa8deb (patch)
treeb9847ac8e47cda1fbbfefd590b6f659e00b3ba5b /src/log.c
parent160cd5c9aa2301892e13950015de7968c764340d (diff)
log: unify log env var prefix
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index 4840185bc1..a47285cb21 100644
--- a/src/log.c
+++ b/src/log.c
@@ -474,11 +474,11 @@ void log_parse_environment(void) {
if (log_set_max_level_from_string(e) < 0)
log_warning("Failed to parse log level %s. Ignoring.", e);
- if ((e = getenv("SYSTEMD_SHOW_COLOR")))
+ if ((e = getenv("SYSTEMD_LOG_COLOR")))
if (log_show_color_from_string(e) < 0)
log_warning("Failed to parse bool %s. Ignoring.", e);
- if ((e = getenv("SYSTEMD_SHOW_LOCATION"))) {
+ if ((e = getenv("SYSTEMD_LOG_LOCATION"))) {
if (log_show_location_from_string(e) < 0)
log_warning("Failed to parse bool %s. Ignoring.", e);
}