mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Add ability to configure server loglevel when running tests
This commit is contained in:
parent
8a6c51290a
commit
0c0ce17bc0
@ -424,7 +424,7 @@ listen:
|
||||
port: @@web_port@@
|
||||
module: ejabberd_http
|
||||
captcha: true
|
||||
loglevel: 4
|
||||
loglevel: @@loglevel@@
|
||||
max_fsm_queue: 1000
|
||||
modules:
|
||||
mod_adhoc: []
|
||||
|
@ -31,6 +31,7 @@ init_config(Config) ->
|
||||
{ok, CfgContentTpl} = file:read_file(ConfigPathTpl),
|
||||
CfgContent = process_config_tpl(CfgContentTpl, [
|
||||
{c2s_port, 5222},
|
||||
{loglevel, 4},
|
||||
{s2s_port, 5269},
|
||||
{web_port, 5280},
|
||||
{mysql_server, <<"localhost">>},
|
||||
|
Loading…
Reference in New Issue
Block a user