Oops, forgot to add the actual tests in ff049d2488caf74171edb916bb2a44df2338717c
Fix the logging processes, and add some very basic tests for logging.