Can I configure which modules or requests should be allowed to create entries in log files?

Is there a way to mention what modules should allowed to log content in ejabberd.log file?
I have mod_ping enabled and my clients hit the server every 10 seconds and when in debug mode, it becomes impossible for me to analyse the log because the ping requests create a lot of noise in the page.
Hence I want to exclude ping requests to not to add content to the log file. Is it possible?

Yes, in ejabberd.cfg set

Yes, in ejabberd.cfg set something like this:

{loglevel, {info, [{mod_ping, warning}]}}.
Syndicate content