Closed jgomer2001 closed 4 months ago
The usecase here is to be able to filter out logs based on the agama flow. This is especially useful when the IDP is shared and showing logs become a security concern
I think it is not very useful to filter log statements by flow name in a shared environment because:
Log
statement are only partially relevant because Agama flows don't carry much business logic - just structure - so in practice, the really interesting log statements come from Java classes invoked by Call
statements or from deeper invocations, eg. Call in flow -> Class A -> Class B -> Class C (logging ocurring here) . However, there is no way to know if an arbitrary Java log statement is originated by an Agama flow.In the shared environment, we are automatically prefixing the QN with the user's github id. As this is an ephemeral enviornment, the only scripts they test will be their own.
@moabu Messages logged via the Log
statements are now prefixed with |flow qname|
in AS script log. Example:
|me.gluu.basic_authn| Hello world
Besides jans-auth war update, existing flows need to be redeployed for the change to take effect
add any comment you may have @moabu