chiark / gitweb /
downgrade a few log msgs
authorLennart Poettering <lennart@poettering.net>
Fri, 14 May 2010 00:50:32 +0000 (02:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 May 2010 00:50:32 +0000 (02:50 +0200)
cgroup.c
unit.c

index 70b56a3..301fc94 100644 (file)
--- a/cgroup.c
+++ b/cgroup.c
@@ -456,22 +456,22 @@ int manager_setup_cgroup(Manager *m) {
                 }
         }
 
-        log_info("Using cgroup controller <%s>, hierarchy mounted at <%s>, using root group <%s>.",
-                 m->cgroup_controller,
-                 mp,
-                 m->cgroup_hierarchy);
+        log_debug("Using cgroup controller <%s>, hierarchy mounted at <%s>, using root group <%s>.",
+                  m->cgroup_controller,
+                  mp,
+                  m->cgroup_hierarchy);
 
         if ((r = install_release_agent(m, mp)) < 0)
                 log_warning("Failed to install release agent, ignoring: %s", strerror(-r));
         else
-                log_info("Installed release agent, or already installed.");
+                log_debug("Installed release agent, or already installed.");
 
         free(mp);
 
         if ((r = create_hierarchy_cgroup(m)) < 0)
                 log_error("Failed to create root cgroup hierarchy: %s", strerror(-r));
         else
-                log_info("Created root group.");
+                log_debug("Created root group.");
 
         return r;
 }
diff --git a/unit.c b/unit.c
index 60d4bb7..fd6723f 100644 (file)
--- a/unit.c
+++ b/unit.c
@@ -713,7 +713,7 @@ fail:
         u->meta.load_state = UNIT_FAILED;
         unit_add_to_dbus_queue(u);
 
-        log_error("Failed to load configuration for %s: %s", u->meta.id, strerror(-r));
+        log_debug("Failed to load configuration for %s: %s", u->meta.id, strerror(-r));
 
         return r;
 }