# How to set raylet log level?

**URL:** <https://discuss.ray.io/t/how-to-set-raylet-log-level/11710>\
**Category:** Ray Core\
**Created:** [August 8, 2023, 6:58am UTC](https://discuss.ray.io/t/how-to-set-raylet-log-level/11710 "2023-08-08T06:58:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarjintor](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/tarjintor/32/3552_2.png) [@tarjintor](https://discuss.ray.io/u/tarjintor)\
**Post date:** [August 8, 2023, 6:58am UTC](https://discuss.ray.io/t/how-to-set-raylet-log-level/11710/1 "2023-08-08T06:58:02Z")

</div>

Hello, I am using ray.data to read some huge h5py file,which larger than 2gb, they are 8gb in fact.  
And I treat the whole file as just one row of pyarrow table,which means one trunc, which may larger than the 2gb limit

But I am not sure for this,so I wish to dig deeper, then I found that I don’t know how to set log level of raylet,and they are info default,while I wish to set the log level to debug.  
I start ray cmd is

> ray --logging-level=debug start …

But this doesn’t work  
And I found there are logs

> [2023-08-08 10:55:25,824 I 1753438 1753486] (raylet) object\_manager.cc:582: Received duplicate or cancelled chunk at index 25 of object 9953aed225098570ffffffffffffffffffffffff8400000002000000: overall 13601/108103 failed  
> [2023-08-08 10:55:25,829 I 1753438 1753485] (raylet) object\_manager.cc:582: Received duplicate or cancelled chunk at index 682 of object 9953aed225098570ffffffffffffffffffffffff8400000002000000: overall 13602/108105 failed

But these logs are also appear for file smaller than 2gb,but not continuely ocurrs.

---

<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:11pm UTC](https://discuss.ray.io/t/how-to-set-raylet-log-level/11710/2 "2023-08-21T13:11:42Z")

</div>

That logging level only controls the python-level logging for workers.

You should use [Debugging for Ray Developers — Ray 2.6.1](https://docs.ray.io/en/latest/ray-contribute/debugging.html#backend-logging) for backend logging configuration
