# Enable debug logging from ray core in gcs\_server.out file

**URL:** <https://discuss.ray.io/t/enable-debug-logging-from-ray-core-in-gcs-server-out-file/3925>\
**Category:** Ray Core\
**Created:** [October 26, 2021, 3:06am UTC](https://discuss.ray.io/t/enable-debug-logging-from-ray-core-in-gcs-server-out-file/3925 "2021-10-26T03:06:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asm582](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/asm582/32/669_2.png) [@asm582](https://discuss.ray.io/u/asm582)\
**Post date:** [October 26, 2021, 3:06am UTC](https://discuss.ray.io/t/enable-debug-logging-from-ray-core-in-gcs-server-out-file/3925/1 "2021-10-26T03:06:26Z")

</div>

Hello,

I tried setting the logging level to DEBUG in logging.cc file

```auto
RayLogLevel RayLog::severity_threshold_ = RayLogLevel::DEBUG;

```

Still, I am unable to get debug logs in the log file named gcs\_server.out, any pointers on how can I enable debug logging in ray core?

Thanks

---

<div class="post-metadata">

**Author:** ![asm582](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/asm582/32/669_2.png) [@asm582](https://discuss.ray.io/u/asm582)\
**Post date:** [October 26, 2021, 1:21pm UTC](https://discuss.ray.io/t/enable-debug-logging-from-ray-core-in-gcs-server-out-file/3925/2 "2021-10-26T13:21:49Z")

</div>

I got debug log turned on setting env variable in cluster.yaml to level debug but I still do not see debug logs from file `cluster_resource_data.cc` , can you please advise

Thanks
