TEZ-535. Redirect AM logs to different files when running multiple DAGs
in the same AM. Contributed by  Mohammad Kamrul Islam.