summaryrefslogtreecommitdiff
path: root/src/daemon/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-29 21:43:50 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-29 21:43:50 +0200
commit1acf39435655ea485c99cf6f328b2972efb730e8 (patch)
treefb6a0ceb66dff98088b96a1dbde1506f43f2ef5a /src/daemon/main.c
parent086fa95407b08204a459600eb33ae6c6c16eb5ce (diff)
change default log level for the library to PA_LOG_ERROR to avoid spamming to stderr more often
Diffstat (limited to 'src/daemon/main.c')
-rw-r--r--src/daemon/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index 9f7a79d5..1d2aa03e 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -348,6 +348,9 @@ int main(int argc, char *argv[]) {
int autospawn_fd = -1;
pa_bool_t autospawn_locked = FALSE;
+ pa_log_set_maximal_level(PA_LOG_INFO);
+ pa_log_set_ident("pulseaudio");
+
#if defined(__linux__) && defined(__OPTIMIZE__)
/*
Disable lazy relocations to make usage of external libraries
@@ -410,9 +413,6 @@ int main(int argc, char *argv[]) {
setlocale(LC_ALL, "");
pa_init_i18n();
- pa_log_set_maximal_level(PA_LOG_INFO);
- pa_log_set_ident("pulseaudio");
-
conf = pa_daemon_conf_new();
if (pa_daemon_conf_load(conf, NULL) < 0)