Skip to content

Commit

Permalink
Add ability to configure server loglevel when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks authored and Christophe Romain committed May 2, 2016
1 parent 8a6c512 commit 0c0ce17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/ejabberd_SUITE_data/ejabberd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ listen:
port: @@web_port@@
module: ejabberd_http
captcha: true
loglevel: 4
loglevel: @@loglevel@@
max_fsm_queue: 1000
modules:
mod_adhoc: []
Expand Down
1 change: 1 addition & 0 deletions test/suite.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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">>},
Expand Down

0 comments on commit 0c0ce17

Please sign in to comment.