Support logging for testconfig.