diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-12 01:03:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-12 01:03:24 +0200 |
commit | 302e27c89ed57f413d2a136fbe66fde32f016aed (patch) | |
tree | 2b732664b43644090ec2c04c789a6dfbdf503163 /src/main.c | |
parent | 91805b3bcb651b80957fa9d5e8f730e8e8375f43 (diff) |
main: log build time features on startup
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 2e17f9b6fa..68da330b10 100644 --- a/src/main.c +++ b/src/main.c @@ -46,6 +46,7 @@ #include "bus-errors.h" #include "missing.h" #include "label.h" +#include "build.h" static enum { ACTION_RUN, @@ -988,7 +989,8 @@ int main(int argc, char *argv[]) { if (getpid() == 1) install_crash_handler(); - log_info(PACKAGE_STRING " running in %s mode.", manager_running_as_to_string(arg_running_as)); + log_full(arg_running_as == MANAGER_SYSTEM ? LOG_INFO : LOG_DEBUG, + PACKAGE_STRING " running in %s mode. (" SYSTEMD_FEATURES ")", manager_running_as_to_string(arg_running_as)); if (arg_running_as == MANAGER_SYSTEM) { |