aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index f0f636a5b..d70d16242 100644
--- a/src/main.c
+++ b/src/main.c
@@ -569,6 +569,7 @@ int main(int argc, char * argv[]) {
initAudioDriver();
initSigHandlers();
+ setupLogOutput(&options, out, err);
startMainProcess();
/* This is the main process which has
* been forked from the master process.
@@ -587,8 +588,6 @@ int main(int argc, char * argv[]) {
printMemorySavedByTagTracker();
printSavedMemoryFromFilenames();
- setupLogOutput(&options, out, err);
-
/* wait for the master process to get ready so we can start
* playing if readPlaylistState thinks we should*/
while (COMMAND_MASTER_READY != handlePendingSignals())