aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-28 19:48:53 +0100
committerMax Kellermann <max@duempel.org>2008-12-28 19:48:53 +0100
commitd70c2e228517c60506a98b38d90cc3e939b6331c (patch)
treeafa7e66f2f9de110ebaa2d1c5229787187e3a8e2 /src/main.c
parentcaf47f7893a666a9ea289f2ffdbce528d4ba75bd (diff)
downloadmpd-d70c2e228517c60506a98b38d90cc3e939b6331c.tar.gz
mpd-d70c2e228517c60506a98b38d90cc3e939b6331c.tar.xz
mpd-d70c2e228517c60506a98b38d90cc3e939b6331c.zip
log: merged initLog() and open_log_files().
The logging library currently has 3 constructor functions: initLog(), open_log_files(), setup_log_output(), called in this order. Merged the first two.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 564241577..b64a07f22 100644
--- a/src/main.c
+++ b/src/main.c
@@ -277,15 +277,13 @@ int main(int argc, char *argv[])
initStats();
tag_lib_init();
- initLog(options.verbose);
+ log_init(options.verbose, options.stdOutput);
if (options.createDB <= 0)
listenOnPort();
changeToUser();
- open_log_files(options.stdOutput);
-
path_global_init();
mapper_init();
initPermissions();