add logmod
Merge branch 'master' of https://github.com/cc14514/ejabberd