It depends on the reason for the failure.
Some "failures" can be fixed by the user so that the job can be restarted.
You also do not say which operators you had used in the job.
That information might impact the steps needed to start the job all over again from the beginning.
For the log id, why does it matter if the number is getting large?
Every log file has to have a unique name.
If you start the numbers over again at 0, then unless you have cleaned up the logs, old ones will be overwritten.
It depends on the reason for the failure.
Some "failures" can be fixed by the user so that the job can be restarted.
You also do not say which operators you had used in the job.
That information might impact the steps needed to start the job all over again from the beginning.
For the log id, why does it matter if the number is getting large?
Every log file has to have a unique name.
If you start the numbers over again at 0, then unless you have cleaned up the logs, old ones will be overwritten.