SAMZA-215: better logging for interactive command-line tools