# No Ray logs generated

**URL:** <https://discuss.ray.io/t/no-ray-logs-generated/4074>\
**Category:** Dashboard, Monitoring & Debugging\
**Created:** [November 9, 2021, 2:37pm UTC](https://discuss.ray.io/t/no-ray-logs-generated/4074 "2021-11-09T14:37:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daxixi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/daxixi/32/1705_2.png) [@daxixi](https://discuss.ray.io/u/daxixi)\
**Post date:** [November 9, 2021, 2:37pm UTC](https://discuss.ray.io/t/no-ray-logs-generated/4074/1 "2021-11-09T14:37:56Z")

</div>

Hi guys!

I would like to check some system level loggings by view loggings in Ray log directory, as described [here](https://docs.ray.io/en/latest/ray-logging.html?highlight=monitor.log) . By main function is quite simple

```auto
    import ray
    ray.init(address='auto',_temp_dir='/home/dixiyao/raylog/')
    train_wrapper(args,num_workers=args.num_workers, use_gpu=True)

```

I first did not set vairable _\_temp\_dir_. And later I set it to a directory which has my authentication. But by either setting, there is no session\_\*/logs directory generated as described.

I wonder do I miss some important configuration to use Ray logs or maybe I came up with some bug?
