LCM: Test output to both stdout and log file.