Docker Solace logging
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
-
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.).1