Syslog, crashlog and performance logs


I have created a test automation framework using appium and python for our native iOS app.
Now I have a requirements where whenever a test fails, I want to fetch device logs. I read in
one of the previous forums that appium does provide three types of logs -
driver.get_log(‘syslog’) , driver.get_log(‘crashlog’) , driver.get_log(‘performance’)
The issue is that I do get syslogs, however for crashlog and performance logs this method always
returns empty string. Also, can someoene tell me exactly how Appium gathers these logs for
iOS devices ? Does it use iOS command line tool - idevicesyslog ?


@qakapil could you able to solve the issue ?

I found related bug filed, please update there as welll