Internal message logging system.