question

Venkata T. avatar image
Venkata T. asked ·

Can we capture values from Log Messages

Hi,

Similar to how we capture return values from a method arguments, can we capture log message value and use it in BTs?

Below is an example: Looks like "message" is an object type so not sure if we can return a value from object.  Also somehow we need to factor in the name value also?

BTW i want to capture 114876

Method: forcedLog(java.lang.String fqcn, org.apache.log4j.Priority level, java.lang.Object message, java.lang.Throwable t)
Class: org.apache.log4j.Category
Name: com.order.facades.impl.CartFacade
Message: user ID:114876

 

 

10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Andreas G. avatar image
Andreas G. answered ·

Hi. This is currently not possible. There is no measure that "returns" the log message that our Logging Sensor picks up. Even though the logging sensor captures the method argument it is not "treated" like a regular method argument that you can then use with e.g: Method ARgument Measure.


 

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Andi, 

Thanks for the info. 

 

0 Likes 0 · ·