# Usage of "log\_to\_file" RunConfig param

**URL:** https://discuss.ray.io/t/usage-of-log-to-file-runconfig-param/21956
**Category:** Ray Tune
**Created:** [March 4, 2025, 4:35pm UTC](https://discuss.ray.io/t/usage-of-log-to-file-runconfig-param/21956 "2025-03-04T16:35:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ggalan87](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@ggalan87](https://discuss.ray.io/u/ggalan87)
#### Post date: [March 4, 2025, 4:35pm UTC](https://discuss.ray.io/t/usage-of-log-to-file-runconfig-param/21956/1 "2025-03-04T16:35:54Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- Low: It annoys or frustrates me for a moment.

Hello, I am fairly new to ray and I try to use Tuner with `log_to_file` option from the RunConfig.

As I can see in the [documentation](https://docs.ray.io/en/latest/tune/tutorials/tune-output.html#where-to-find-log-to-file-files) using this option, print statements for example should be captured and stored in trial directories in corresponding files that are created.

I have adapted the code of a basic example to include two print statements and run with the desired option into [google colab](https://colab.research.google.com/drive/1OoiQd8RU9QHcKpecCPN2y3MQUnxMr4gt?usp=sharing). In this particular example I expect that stdout files are created inside the trial folders, along with `result.json` etc. However I can’t see any such files and the prints happen in the console. Am I missing something, or is there a configuration which overrides `log_to_file` somewhere?

Thanks
