add log motd and hostmask_matches