Page 1 of 1

Item Import batch job not showing logs

Posted: April 24th, 2023, 5:25 pm
by AkshayKhanolkar
I was running the item import batch job for a client in the Dev environment. I see logs for the Sub-process MainItemImport but do not see logs for any other sub-processes or even the main Item Import process. Is there a way to see these in the application logs or old log viewer?

Re: Item Import batch job not showing logs

Posted: April 25th, 2023, 12:14 pm
by SteveCap
Batchjob logs work a little differently than say a pages log. Typically the logs will not get printed until the entire processes has completed. But in a batch job (Sub)Method calls and loops will print their logs upon their own completion and can then be viewed earlier. Once the batchjob finishes you should then get the actual batchjobs logs to print and then can be viewed from the logs page just like any other.

Re: Item Import batch job not showing logs

Posted: May 12th, 2023, 11:58 am
by CathyC
I also recently ran into this issue and it was while trying to run a batch job for a large number of records. I assumed it was because process of writing the logs after it finished took so long that it crashed (which used to happen, not sure if it would anymore). But then when I told Matt M, he said that it was because of a different bug and my notes probably were getting created.

If you go to the batch job and go to log tab, it selects the type of EP_BatchJob when it should be Batch Job. So the logs were probably there but under the correct type

This is happening in Classic and MVC

If this isnt already raised in a task, can we have a task for it?

Re: Item Import batch job not showing logs

Posted: June 19th, 2023, 9:32 am
by CathyC
Here is a screenshot of the batch job issue.
image.png
it shows EP_BatchJob

but the right one is BatchJob (I think?). One of them is wrong and the one that the page loads with is wrong
image.png

Re: Item Import batch job not showing logs

Posted: June 28th, 2023, 9:57 am
by SteveCap
Task 11483 has been created to fix this issue.