Hi,
I used the updated mod_statsdx.erl at the contrib-master branch (
The mod_statsdx updated for version 13 works perfectly fine on 14.07 as well.
However, mod_stats2file module throws errors related to parameters mismatch in ejabberd's log file.
I am configuring thismodule as shown below in the ejabberd.yml:
mod_statsdx: []
mod_stats2file:
interval: 1
type: txt
basefilename: "/var/www/ejabberd_stats/server"
I would like to see the log file generated within 1 minute that's why 1 as the interval for now.
Equivalent configuration for 2.1.11 worked like a charm though.
But the corresponding mod_stats2file is not accepting anything fine at 14.07.
It could be binaryzation differences or signature mismatch.
Does this file needs updation for 14.07?
I can't figure out in whih all places and what.
Following is the error i get with no options i.e. [] specified:
2014-12-17 17:54:31.495 [critical] <0.38.0>@gen_mod:start_module:90 Problem starting the module mod_stats2file for host <<"devlab">>
options: []
error: badarith
[{mod_stats2file,start,2,[{file,"mod_stats2file.erl"},{line,35}]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,82}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1323}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,67}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,269}]}]
Pointers would be helpful
Would be grateful.
Thanks!
Regards
Not able to write files with
There were some bugs in mod_stats2file, so it didn't work correctly with ejabberd 14. It's been fixed in Git, update and try again.
Thanks a lot!
Thanks a lot!