# Why are worker logs not formatted using the ray logger

**URL:** <https://discuss.ray.io/t/why-are-worker-logs-not-formatted-using-the-ray-logger/11550>\
**Category:** Ray Core\
**Created:** [July 26, 2023, 12:04am UTC](https://discuss.ray.io/t/why-are-worker-logs-not-formatted-using-the-ray-logger/11550 "2023-07-26T00:04:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmlakner](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/pmlakner/32/4821_2.png) [@pmlakner](https://discuss.ray.io/u/pmlakner)\
**Post date:** [July 26, 2023, 12:04am UTC](https://discuss.ray.io/t/why-are-worker-logs-not-formatted-using-the-ray-logger/11550/1 "2023-07-26T00:04:09Z")

</div>

When using the ray logger only the driver logs get the formatting. Upon inspection of the code I saw this was intentional i’m just wondering why?

According to the comment here:  
[https://github.com/ray-project/ray/blob/0716b99eae2cda5d9f9aaaf8144cef3f24061b4d/python/ray/\_private/log.py#L66](https://github.com/ray-project/ray/blob/0716b99eae2cda5d9f9aaaf8144cef3f24061b4d/python/ray/_private/log.py#L66)

---

<div class="post-metadata">

**Author:** ![sangcho](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sangcho/32/425_2.png) [@sangcho](https://discuss.ray.io/u/sangcho)\
**Post date:** [August 21, 2023, 1:05pm UTC](https://discuss.ray.io/t/why-are-worker-logs-not-formatted-using-the-ray-logger/11550/2 "2023-08-21T13:05:18Z")

</div>

It is because this mechanism doesn’t go well with how we stream logs to the driver

Besides, we didn’t enable this “fancy logging” thing yet, so practically there’s no impact.
