Add the target param and option to the log command.