@Path("logs/{name}")
    public ActivityLogResource getLog(@PathParam("name") String logName)
            throws GuacamoleException {

        ActivityLog log = record.getLogs().get(logName);
        if (log != null)
            return new ActivityLogResource(log);

        throw new GuacamoleResourceNotFoundException("No such log.");

    }
Returns an ActivityLogResource representing the log associated with the
underlying ActivityRecord and having the given name. If no such log
can be retrieved, either because it does not exist or the current user
does not have access, an exception is thrown.

@param logName
    The unique name of the log to retrieve.

@return
    An ActivityLogResource representing the log having the given name.

@throws GuacamoleException
    If no such log can be retrieved.
guacamole/src/main/java/org/apache/guacamole/rest/history/ActivityRecordResource.java