Preliminary log stuff.