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.
This commit is contained in:
Max Kellermann
2008-12-28 19:48:53 +01:00
parent caf47f7893
commit d70c2e2285
3 changed files with 3 additions and 12 deletions

View File

@@ -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();