# Continuous provision of current logs

**URL:** <https://discourse.julialang.org/t/continuous-provision-of-current-logs/93143>\
**Category:** General Usage\
**Created:** [January 18, 2023, 9:35am UTC](https://discourse.julialang.org/t/continuous-provision-of-current-logs/93143 "2023-01-18T09:35:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![max](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/max/32/31135_2.png) [@max](https://discourse.julialang.org/u/max)\
**Post date:** [January 19, 2023, 6:38pm UTC](https://discourse.julialang.org/t/continuous-provision-of-current-logs/93143/6 "2023-01-19T18:38:43Z")

</div>

Since the while loop is not closed in the instance I assume it might be an similar issue to this one:

> [@Work on main thread delays spawned task](https://discourse.julialang.org/t/work-on-main-thread-delays-spawned-task/75297):
>
> Consider the following example: function ex1() task = @Threads.spawn begin st = time() sleep(1.0) return time() - st end st2 = time() while time() - st2 \< 5 end println("task slept for $(fetch(task)) seconds") end When I start Julia 1.7.1 with julia -t2 and run ex1(), the result is “task slept for 5.0 seconds”. With the following code, the result is “task slept for 1 seconds”: function ex2() task = @Threads.spawn begin st = time() …

---

_[View the full topic](https://discourse.julialang.org/t/continuous-provision-of-current-logs/93143)._
