# Docker Solace logging

**URL:** <https://community.solace.com/t/docker-solace-logging/1988>\
**Category:** General Discussions\
**Created:** [July 25, 2024, 11:37am UTC](https://community.solace.com/t/docker-solace-logging/1988 "2024-07-25T11:37:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monis](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Monis](https://community.solace.com/u/Monis)\
**Post date:** [July 25, 2024, 11:37am UTC](https://community.solace.com/t/docker-solace-logging/1988/1 "2024-07-25T11:37:48Z")

</div>

when i am trying to bring the container , it fails by throwing “The file: /usr/sw/jail/logs/debug.log is not writable.” is there a way i can change the logging directory to ay /opt

i beleive if i keep logging\_debug\_output=none , still debug.log will try to get created but due to permission issue it will not work for me, so i am trying if there is a way i can redirect the default “usr/sw/jail/logs” to the directory where i have access will solve my issue

---

<div class="post-metadata">

**Author:** ![Emerson\_Chen](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@Emerson\_Chen](https://community.solace.com/u/Emerson_Chen)\
**Post date:** [July 31, 2024, 5:42pm UTC](https://community.solace.com/t/docker-solace-logging/1988/2 "2024-07-31T17:42:03Z")

</div>

This is typically done through Docker’s [Volumes](https://docs.docker.com/storage/volumes/) mechanism. I would map `/var/lib/solace` to a folder that is writeable. If this is not clear, please provide on your method of running the container ( _e.g._ , command line, docker compose, etc.).
