🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Docker Solace logging

Monis
Monis Member Posts: 4

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

Answers

  • Emerson Chen
    Emerson Chen Member, Employee Posts: 7 Solace Employee

    This is typically done through Docker's 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.).