Add rudimentary logging