Tweaked addLog()