Add log filename to sample settings for tests.