pizug / cpi-groovy-examples

Groovy Script Examples for SAP Cloud Integration (CPI)
https://pizug.com/cpi-groovy-examples
Other
74 stars 53 forks source link

save-payload-to-mpl-attachment-with-log-level.groovy: Use properties SAP_MPL_LogLevel_* #6

Closed vadimklimov closed 11 months ago

vadimklimov commented 11 months ago

To determine a log level during message processing using a Groovy script, it is now recommended to retrieve it from exchange properties SAP_MPL_LogLevel_* (SAP_MPL_LogLevel_Internal, SAP_MPL_LogLevel_External and SAP_MPL_LogLevel_Overall) as opposed to deriving it from the exchange property SAP_MessageProcessingLogConfiguration.

More information and details about this:

fatihpense commented 11 months ago

Thank you for the heads-up and pull request Vadim! I hope this will increase the visibility of this best-practice.

vadimklimov commented 11 months ago

Thank you, @fatihpense. It is my pleasure to contribute to your initiative and this repository of best practices. Keep up the great job!