Unified logging, and fixed bug in private message logging where messages to the bot and from the bot were stored in different log files