PageSourceSearch

https://www.buildbuddy.io/assets/js/a4f4a29b.8a617836.js

js buildbuddy.io collected 2026-09-24 08:43:41 UTC 3,328 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbuildbuddy_docs_website=self.webpackChunkbuildbuddy_docs_website||[]).push([[4898],{36649(e,t,n){n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var a=n(97185),r=n(86070),o=n(35676);const i={title:"Run log streaming",date:new Date("2026-04-21T10:00:00.000Z"),authors:"maggie",tags:["bazel"]},s=void 0,l={authorsImageUrls:[void 0]},u=[];function c(e){const t={a:"a",code:"code",img:"img",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["In addition to build logs, you can now use the ",(0,r.jsxs)(t.a,{href:"https://buildbuddy.io/cli",children:[(0,r.jsx)(t.code,{children:"bb"})," CLI"]})," to stream ",(0,r.jsx)(t.code,{children:"bazel run"})," executable output to our servers and view live-updating run logs from the UI."]}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.img,{alt:"run log streaming",src:n(88816).A+"",width:"910",height:"716"})}),"\n",(0,r.jsx)(t.p,{children:"This gives you a durable record of executable output, making it easy to share logs with teammates, or letting you monitor runs while away from your terminal."}),"\n",(0,r.jsx)(t.p,{children:"To use it:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"bb run //app:server --stream_run_logs\n"})}),"\n",(0,r.jsxs)(t.p,{children:["By default, if streaming fails, the executable will continue to run. To fail the command immediately, use ",(0,r.jsx)(t.code,{children:"--on_stream_run_logs_failure=fail"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},88816(e,t,n){n.d(t,{A:()=>a});const a=n.p+"assets/images/run-log-streaming-d56c9e8c484aa860cca8e2768f8be72b.webp"},35676(e,t,n){n.d(t,{R:()=>i,x:()=>s});var a=n(30758);const r={},o=a.createContext(r);function i(e){const t=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),a.createElement(o.Provider,{value:t},e.children)}},97185(e){e.exports=JSON.parse('{"permalink":"/changelog/cli-run-log-streaming","editUrl":"https://github.com/buildbuddy-io/buildbuddy/edit/master/website/changelog/changelog/cli-run-log-streaming.md","source":"@site/changelog/cli-run-log-streaming.md","title":"Run log streaming","description":"In addition to build logs, you can now use the bb CLI to stream bazel run executable output to our servers and view live-updating run logs from the UI.","date":"2026-04-21T10:00:00.000Z","tags":[{"inline":true,"label":"bazel","permalink":"/changelog/tags/bazel"}],"hasTruncateMarker":false,"authors":[{"name":"Maggie Lou","title":"Engineer @ BuildBuddy","url":"https://www.linkedin.com/in/maggie-lou-4a3bb110a/","imageURL":"https://avatars.githubusercontent.com/u/13951661","key":"maggie","page":null}],"frontMatter":{"title":"Run log streaming","date":"2026-04-21T10:00:00.000Z","authors":"maggie","tags":["bazel"]}
1,"unlisted":false,"prevItem":{"title":"End-to-end CDC support","permalink":"/changelog/bazel-remote-cache-cdc"},"nextItem":{"title":"BuildBuddy MCP server","permalink":"/changelog/buildbuddy-mcp-server"}}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.