put log path attribute back into command