On Wed, Jun 26, 2024 at 2:52 AM [email protected] <[email protected]> wrote:
> Dear Guacamole Community, > > I hope this message finds you well. > > As a complete novice to Guacamole extension development (and dev in > general), I'm looking to create an extension that logs file transfer > events, specifically capturing information about files being uploaded or > downloaded through Guacamole connections. > > Given my limited experience, I would appreciate any guidance on how to > approach this. Could you point me to the relevant classes or interfaces in > the Guacamole API that handle file transfers? Additionally, are there > specific events or hooks I should focus on for capturing these activities? > > Thank you in advance for your help and patience with a newcomer. Any > insights or documentation (other than the one already in the manual) would > be greatly appreciated. > > Unfortunately I do not believe that implementing an extension - either authentication or event listeners - is going to allow you to capture file transfer events. I'm not sure that we actually have anything implemented at the moment that will capture that. You can probably do some tweaking to logback.xml and get the event messages to show up in the Tomcat log file - it'll probably take some trial-and-error to get it to log only the events you want for those file transfers and not absolutely everything, but it probably can be done. -Nick
