mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-13 15:16:49 +02:00
* src/ejabberd_config.erl: Added loglevel option. It is now possible to
configure ejabberd dynamic loglevel from the config file (EJAB-74). SVN Revision: 693
This commit is contained in:
parent
2bc550aafc
commit
4f0ee52254
@ -1,3 +1,8 @@
|
||||
2006-12-14 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/ejabberd_config.erl: Added loglevel option. It is now possible to
|
||||
configure ejabberd dynamic loglevel from the config file.
|
||||
|
||||
2006-12-08 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_receiver.erl: Bugfix
|
||||
|
@ -1,8 +1,9 @@
|
||||
% $Id$
|
||||
|
||||
% ejabberd loglevel (0: no log -> 5: debug))
|
||||
{loglevel, 4}.
|
||||
|
||||
%override_acls.
|
||||
|
||||
|
||||
% Users that have admin access. Add line like one of the following after you
|
||||
% will be successfully registered on server to get admin access:
|
||||
%{acl, admin, {user, "aleksey"}}.
|
||||
|
@ -121,6 +121,9 @@ process_term(Term, State) ->
|
||||
add_option(cluster_nodes, Nodes, State);
|
||||
{domain_balancing, Domain, Balancing} ->
|
||||
add_option({domain_balancing, Domain}, Balancing, State);
|
||||
{loglevel, Loglevel} ->
|
||||
ejabberd_loglevel:set(Loglevel),
|
||||
State;
|
||||
{Opt, Val} ->
|
||||
lists:foldl(fun(Host, S) -> process_host_term(Term, Host, S) end,
|
||||
State, State#state.hosts)
|
||||
|
Loading…
Reference in New Issue
Block a user