Modules need to check the number regularly to detect a new log rotation.
Otherwise MXB_MODULE_NAME will be NULL.
In files either include maxscale/log.hh or remove include entirelly as maxscale/ccdefs.hh includes it.