A logging MACHINE