25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Add ability to configure server loglevel when running tests

This commit is contained in:
Paweł Chmielowski 2016-04-08 11:36:15 +02:00 committed by Christophe Romain
parent 8a6c51290a
commit 0c0ce17bc0
2 changed files with 2 additions and 1 deletions

View File

@ -424,7 +424,7 @@ listen:
port: @@web_port@@
module: ejabberd_http
captcha: true
loglevel: 4
loglevel: @@loglevel@@
max_fsm_queue: 1000
modules:
mod_adhoc: []

View File

@ -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">>},