Open igama opened 10 years ago
Thanks for the bug report. Without digging in too deep my first thought is that this is likely due to the use of the INFO_MSG
macro in some of the modules. I unfortunately don't have time to debug any deeper at this time, but removing those calls may get you unblocked.
I want to use "INFO_MSG" to print log message, How shall I do ?
I've downloaded the 14.12 version from github, compiled from source code and have the same issue, I followed this steps to solve:
Add this:
-define(LAGER, 1).
To "/lib/ejabberd/include/logger.hrl", before the line:
ifdef(LAGER)
And compile module with: $ erlc -I /lib/ejabberd/include/ -pa ~[path-to-ejabberd-code]/ejabberd/deps/lager/ebin/ src/mod_offline_post.erl $ sudo mv mod_offline_post.beam /lib/ejabberd/ebin/ $ sudo ejabberdctl start
This works for me on: Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty
in ejabberd.yml
running ejabberdctl live