minor cleanup, support adding raw log filename