We have a guacamole server installed in a K8s cluster and want to audit the connections.
Currenty the connection history is stored in a table in the postgres DB.
The application logs seem to have enough information for us, but we have to export the connection ID and names out of the database and match them with the logs.
The standard logger spits out a msg in the format above.
My questions is, can we override the logger message with a config to say
logger.info("User \"{}\" connected to {} ID: \"{}\", Name: \"{}\" .",
context.self().getIdentifier(), type.NAME, id, connection_name);
instead of
logger.info("User \"{}\" connected to {} \"{}\".",
context.self().getIdentifier(), type.NAME, id);