25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

*** empty log message ***

SVN Revision: 39
This commit is contained in:
Alexey Shchepin 2003-01-14 17:38:03 +00:00
parent c4d76dec7d
commit 739a1cfcb0
2 changed files with 4 additions and 0 deletions

View File

@ -12,11 +12,14 @@
-export([start/0, init/0]). -export([start/0, init/0]).
-include("ejabberd.hrl").
start() -> start() ->
spawn(?MODULE, init, []). spawn(?MODULE, init, []).
init() -> init() ->
register(ejabberd, self()), register(ejabberd, self()),
error_logger:logfile({open, ?ERROR_LOG_PATH}),
randoms:start(), randoms:start(),
ok = erl_ddll:load_driver(".", expat_erl), ok = erl_ddll:load_driver(".", expat_erl),
Port = open_port({spawn, expat_erl}, [binary]), Port = open_port({spawn, expat_erl}, [binary]),

View File

@ -22,4 +22,5 @@
-define(MSGS_DIR, "msgs"). -define(MSGS_DIR, "msgs").
-define(CONFIG_PATH, "ejabberd.cfg"). -define(CONFIG_PATH, "ejabberd.cfg").
-define(ERROR_LOG_PATH, "error.log").