Bug 4281

Summary: View log files
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Yuan Sun <Yuan.Sun2>
Severity: enhancement    
Priority: Medium+ CC: jessica.zhang, Yuan.Sun2
Version: unspecified   
Target Milestone: 1.5 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 4668    

Description Belen Barros Pena 2013-04-12 14:21:20 UTC
Web Hob might show the full path to a log file in different places (for example, the tasks table, error messages, task details page, etc). I should be able to click the path and see the log file. 

How the log file will be presented (in the browser, by downloading the file when in a remote location, etc) is TBD.
Comment 1 Belen Barros Pena 2013-07-11 10:59:05 UTC
Move to M3 as part of milestone reallocation and after discussing with Alex
Comment 2 Belen Barros Pena 2013-08-22 10:46:29 UTC
For the first release, we need to provide:

* Full path to the cooker log
* Full path to the task logs

The path is not interactive in any way, since the initial release of Web Hob only runs locally in the same machine performing the builds (we are not yet supporting remote build servers).

In the simple interface, the full path to the cooker log should show in the All builds table (/simple/builds/) in the 'Log' column. The corresponding API call is 

[Object Root].list[].fields.cooker_log_path

In the simple interface, the full path to the task logs should show in the Tasks table (/simple/<build_id>/task/) in a 'Logfile' column. The corresponding API call is:

[Object Root].list[].fields.log_file
Comment 3 Alexandru Damian 2013-10-21 09:41:23 UTC
Merged in origin/master and origin/dora-toaster.
Comment 4 Belen Barros Pena 2013-10-29 13:46:13 UTC
Verified fixed in:

master: 76751a03b1475f22499c488395274453096b9c38
dora-toaster: 4b64eb444ab065915267d8040bf878ecae9b00c4