This seemed to happen after the upgrade to 1.6.19
I can change logfile all I want. 'p' and 'm' options seem to have no effect. The bot will no longer log public or private messages. It will log /notice or /msg lines from the channel.
I have deleted the channel file, recompiled, tried both the original and Gentoo biulds, same thing.
I got around it by writing a TCL script to add entries by putloglev but would rather use the native log.
I have looked at the config file and even stared at the code and cant see anything that would prevent the messages from being logged.