How to download step's log on BF
Hi,
My project is big and the core step output a great lot logs, every time I look at the log the browser will be blocked..so I want to download the step's logs and use editor to view. Can I do that? |
3 answers
Hi, Hi, You can change the pagination on the step log page so that it shows only a certain amount of the log lines. The other thing you can do on the step log page is to select/unselect the types of log statements (ENV, etc.). However, for your question - one option is to create a script using the services layer API to get the logs from the result records for a build. Brent Ulbricht RTC Build Lead |
Hi, Hi, You can change the pagination on the step log page so that it shows only a certain amount of the log lines. The other thing you can do on the step log page is to select/unselect the types of log statements (ENV, etc.). However, for your question - one option is to create a script using the services layer API to get the logs from the result records for a build. Brent Ulbricht RTC Build Lead Thanks for your suggestion. I think it's better to have the feature to let user download the logs for issue tracking. Could you guide me where I can find the services layer API. |
Hi, Hi, You can change the pagination on the step log page so that it shows only a certain amount of the log lines. The other thing you can do on the step log page is to select/unselect the types of log statements (ENV, etc.). However, for your question - one option is to create a script using the services layer API to get the logs from the result records for a build. Brent Ulbricht RTC Build Lead Thanks for your suggestion. I think it's better to have the feature to let user download the logs for issue tracking. Could you guide me where I can find the services layer API. You can retrieve the services layer clients by going to http://:/clients . You can select to download the Perl or Java client. I've attached some sample code for Java.
Brent Ulbricht RTC Build Lead |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.