On Fri, Mar 28, 2025 at 2:52 PM Don Murdoch GSE BTHb <[email protected]> wrote:
> I have a guacamole 1.5.4 setup that works well most of the time. We > have a few SSH, several VNC, and several RDP connections. Guac is > setup w/ three containers. I do have the MySQL DB mounting an external > volume, so I've gotten that far. After some amount of run time users > get a disconnected message and cannot connect to any new session. > Users who are in a session are unaffected. The only thing I've seen is > people pushing the back button, or logging in using a VM for a while, > logging out and immediately trying to go back; that second event > usually gives a nice red banner error. > > I need a spot of help getting relevant logs out of the containers, > and hopefully writing them to /var/log on the host. > So far - "docker logs -t --details guacamole --since 5m" and > 'guacd' will get me the last 5 minutes worth of logs. I can also use > the "docker logs --follow" and get output in two shells. SO - I am > getting some log data. What I do not see is way to connect the user > from guacamole to the user in guacd. I see readable names from > guacamole, and from guacd I see log GUID like identifiers. > > Hello, Don, Not sure if this is still an issue for you after all these months, but, if so, I'd recommend looking at Docker's documentation on log drivers - specifically, they have one for journald, so that you can send logs to systems running journald, or one for syslog, if you're using a system that uses syslog over journald. https://docs.docker.com/engine/logging/drivers/journald/ https://docs.docker.com/engine/logging/drivers/syslog/ -Nick
