# Streaming julia terminal output (stdout stderr) to http server

**URL:** https://discourse.julialang.org/t/streaming-julia-terminal-output-stdout-stderr-to-http-server/83293
**Category:** General Usage
**Created:** [June 24, 2022, 7:59am UTC](https://discourse.julialang.org/t/streaming-julia-terminal-output-stdout-stderr-to-http-server/83293 "2022-06-24T07:59:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)
#### Post date: [June 24, 2022, 7:59am UTC](https://discourse.julialang.org/t/streaming-julia-terminal-output-stdout-stderr-to-http-server/83293/1 "2022-06-24T07:59:22Z")

</div>

I have a Julia monitoring script (an infinite loop) which is gathering data from several sources and writing it to different MariaDB databases.  
I would now like to run this as a service. Is there a simple why that I can stream the terminal output of the Julia process to an HTTP.jl server (such that I can see the log in a browser)? While I have some experience with HTTP.jl (client side) and Dash.jl (and Flask in Python) I don’t quite know how to approach this. I have no preference if the HTTP server is a separate Julia instance.

Any pointers / links are appreciated.

---

<div class="post-metadata">

### Author: ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)
#### Post date: [June 25, 2022, 11:46am UTC](https://discourse.julialang.org/t/streaming-julia-terminal-output-stdout-stderr-to-http-server/83293/2 "2022-06-25T11:46:29Z")

</div>

After some googling I found this: [GitHub - mthenw/frontail: 📝 streaming logs to the browser. Sponsored by https://cloudash.dev](https://github.com/mthenw/frontail)  
It seems this does publish any log file in the browser. Thus I can redirect stdout/stderr to a text file and I am done.
