# Logging to a single file from multiple loggers

**URL:** <https://racket.discourse.group/t/logging-to-a-single-file-from-multiple-loggers/781>\
**Category:** Questions & Answers\
**Tags:** question\
**Created:** [March 10, 2022, 10:59pm UTC](https://racket.discourse.group/t/logging-to-a-single-file-from-multiple-loggers/781 "2022-03-10T22:59:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![simonls](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/simonls/32/170_2.png) [@simonls](https://racket.discourse.group/u/simonls)\
**Post date:** [March 11, 2022, 1:45pm UTC](https://racket.discourse.group/t/logging-to-a-single-file-from-multiple-loggers/781/3 "2022-03-11T13:45:39Z")

</div>

I think @SamPhillips's answer covers for what you can do for one process and possibly multiple when you combine logs via the shell redirection he has mentioned.

This prompted me to "log" my thoughts about multi-process in another topic:

> [@Multi Process Racket (or even distributed)](https://racket.discourse.group/t/multi-process-racket-or-even-distributed/785):
>
> I wrote this in response to [another question](https://racket.discourse.group/t/logging-to-a-single-file-from-multiple-loggers/781), but also to get these things out of my head and written down. I am also curious about other interesting similar or related tools. Personally I don't have done a lot of multi process racket in a practical sense, but I have looked into the options in the past, because it was interesting to me and I thought I could mention them here, to make this a sort-of overview. rackety multi process [Parallelism with Places](https://docs.racket-lang.org/guide/parallelism.html#(part._effective-places)) describes places, there are also distri…

One simple way might be a tcp client-server, all processes send their logs to the logging server, it merges them, writes them to one file. (This could make sense if you don't want to use one of the places variants)

In the other topic I also mentioned a few general tools that might be interesting depending on your details.

Lastly there are also a lot of logging services (which may be either interesting or useless depending on what you want and need) and people writing their own logging servers, so that they have something they can run themselves instead of having to use hosted services. Either of those might be useful, if you don't want to write something like a log server yourself.

---

_[View the full topic](https://racket.discourse.group/t/logging-to-a-single-file-from-multiple-loggers/781)._
