Collect application generate log in automate test