None of the examples of custom modules like mod_logxml etc work with ejabberd 2.1.13 -- and the issue with the logger change to lager. I tried to use the logger.hrl which encapsulates both types of logging but it still defaults to p1_logger system. If I try to use lager:debug directly, it fails to compile. Is there any documentation of doing a basic module using the new logging system?
Prasanna
pwalimbe wrote: None of the
None of the examples of custom modules like mod_logxml etc work with ejabberd 2.1.13
I've downloaded ejabberd-contrib git, switched to 2.1.x branch, compiled mod_logxml, installed, enabled it in ejabberd 2.1.13, and it starts and logs correctly. What exactly does not work for you?