<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thanks Pierre! It works.</p>
<p>Dimitri<br>
</p>
<br>
<div class="moz-cite-prefix">On 7/28/2016 9:57 AM, Pierre Tardy
wrote:<br>
</div>
<blockquote
cite="mid:CAJ+soVfTpJhwCLnRBVo7v5eJHBxnbeh0n=g41o4WEBbjq70A6g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div>You can use the following in order to get the raw log:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://localhost:8010/api/v2/logs/995/raw">http://localhost:8010/api/v2/logs/995/raw</a><br>
</div>
<div><br>
</div>
<div>.. which looks like is not documented..</div>
<div><a moz-do-not-send="true"
href="http://trac.buildbot.net/ticket/3586#ticket">http://trac.buildbot.net/ticket/3586#ticket</a><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Le jeu. 28 juil. 2016 à 03:51, Dimitri Naydich
<<a moz-do-not-send="true"
href="mailto:dnaydich@grammatech.com">dnaydich@grammatech.com</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>Is there a way to retrieve a log for a completed step as
a text file via a url? For example, let url <a
moz-do-not-send="true"
href="http:buildbot.example.org/steps/85619/logs"
target="_blank">http:buildbot.example.org/steps/85619/logs</a>
show <br>
</p>
<pre style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;word-wrap:break-word;white-space:pre-wrap">{
"logs": [
{
"complete": true,
"logid": 88819,
"name": "stdio",
"num_lines": 94,
"slug": "stdio",
"stepid": 85619,
"type": "s"
}
],
"meta": {
"total": 1
}
}
I thought that url <a moz-do-not-send="true" href="http:buildbot.example.org/steps/85619/logs/stdio" target="_blank">http:buildbot.example.org/steps/85619/logs/stdio</a> would show the text of the log, but it shows
{
"logs": [
{
"complete": true,
"logid": 88819,
"name": "stdio",
"num_lines": 94,
"slug": "stdio",
"stepid": 85619,
"type": "s"
}
],
"meta": {}
}
Your suggestions appreciated.
Thanks,
Dimitri</pre>
<br>
</div>
_______________________________________________<br>
users mailing list<br>
<a moz-do-not-send="true" href="mailto:users@buildbot.net"
target="_blank">users@buildbot.net</a><br>
<a moz-do-not-send="true"
href="https://lists.buildbot.net/mailman/listinfo/users"
rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dimitri Naydich | GrammaTech, Inc. | Tel: 607-273-7340 x171
<a class="moz-txt-link-freetext" href="mailto:dnaydich@grammatech.com">mailto:dnaydich@grammatech.com</a> | <a class="moz-txt-link-freetext" href="http://www.grammatech.com">http://www.grammatech.com</a></pre>
</body>
</html>