start logging from the metacpan script and write test that captures it