Blog Posts Process Management Service Oriented Architecture (SOA)

Diagnostic logging ‘events’ and benefits of decoupled log-processors by Jang-Vijay Singh

Blog: PaaS Community

image

The implementation of  good logging frameworks is typically asynchronous for good reason: background processing involved in logging activities must not cause an overhead in the main flow. Even the simplest action like writing the output to a log file is implemented behind the scenes in separate threads.

  

From a log analysis and diagnostics point of view, this is not a problem as each log entry includes a timestamp that shows the instant when the log entry was requested (rather than the time it was actually written to a log file)

The same principle applies when we use more complex technologies like the Oracle Service Bus and Oracle Integration Cloud (OIC). Each offers dedicated log activities that write to *-diagnostic.log files or the OIC activity stream.

Customer Requests

More than once, I came across some customer requests where they proposed writing dedicated services to perform something more complex than just writing to log files or activity streams. Customer would perhaps expect structured log entries in a specific format to be published to some queue or persisted to some big-data store. It is proposed that such a dedicated services/API’s that would then be called by each integration flow or process at different points like entry, exit, and error catch blocks.

However this has two clear drawbacks:

1) It involves a design-time and development time overhead where this new custom ‘logging API’ would be called by each integration flow (we then need to worry about its availability and error handling in addition to the actual real services we need to worry about). Read the complete article here.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/diagnostic-logging-events-and-benefits-of-decoupled-log-processors-by-jang-vijay-singh/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×