4.2

HHH-8494: I realized that when logging information about batch execution, sometimes that information is wrong. Pleas see the jira issue for the entire explanation.

I've added a test case for this and made some changes trying to correct the log info.

Hope it will help.

Regards. Hernán.