All cc-files should include maxscale/ccdefs.hh, which includes maxscale/log.hh. Consequently it need not be included again.
In files either include maxscale/log.hh or remove include entirelly as maxscale/ccdefs.hh includes it.