I'd like to build an Event Listener that logs the name and/or hostname of a
connection that a user attempts to connect to.

Reading the docs at
https://guacamole.apache.org/doc/gug/event-listeners.html it seems that
this should be possible. I was particularly encouraged by the statement *"By
listening to tunnel lifecycle events, a listener extension could be used to
help coordinate startup and shutdown of machine resources; particularly
useful in cloud environments where minimizing running-but-idle resources is
an important cost savings measure."*.

I'm having difficulty figuring out how to retrieve this information from
the TunnelConnectEvent object that the Listener receives. I'd be super
grateful if someone has some example code they can point me to

Thanks in advance!

-Matty

Reply via email to