"We didn't start the fire ... it was always burning since the world's been turning ..." [Billy Joel 1989]. Is SOA the "Same Old Architecture?" or is it "Simply Over Ambitious?" Let's apply SOA's arsenal:: XML, BPM, Services, SOAP, Web Services - to the real world and find out. Let's put out some fires.

« SOA on its way out? Lets get ready for future | Main | Ready for the SOA Journey: Check Your SOA Maturity »

Logging Approach for SOA

Generally, two kinds of logging are required in any business system, be it a SOA or not
  • Technical diagnostic logging e.g. logging exception trace
  • Logging business data e.g. logging for tracking/auditing purposes
The logging requirements may vary depending on the exact purpose. For exception logging, you may typically log details of the component, application platform, timestamp, infrastructure components and then details of the incident itself etc. Logging for auditing and business related reporting purposes would invariably require some amount of business data logging.

 

In any SOA integration project, inability to differentiate between these two entirely different categories of requirements leads to confusion and a sub optimal design. Key points to understand here is that logging is a key capability in detecting and resolving problems in any IT infrastructure and each SOA product supports extensive and configurable logging features in their own way. In SOA, the challenge lies in creating a centralized logging solution that can save the effort of mining plethora of logs created in variety of formats by different systems. There are various approaches to deal with this problem. These are few here:

  • In the first approach all these different types of logs can be consolidated to produce a single view. A log mining software creates a more structured and centralized view of application logs for further processing e.g. alerting or reporting. This approach is more appropriate for after-the-fact monitoring and alerting purposes.

     

  • In SOA platforms where separation of concerns is a key principle, it makes a lot of sense to have a centralized service responsible for logging information or events important to business. Other applications and services can use this service for business related logging or auditing. This service can be defined based on the business needs for auditing.

     

  • Similarly, logging technically important diagnostics events to a similar central Logging Service would be only possible if all the systems agree on a uniform event format and interface.  This variation of monitoring approach is to generate application monitoring and logging events from different systems and applications in a uniformly defined format that can be processed by other applications and systems. In the SOA world there is more promise than this. WSDM ( Web Services Distributed Management) standard actually extends this idea  to create a management framework for distributed management of web services.  

     

TrackBack

TrackBack URL for this entry:
http://infosysblogs.com/soa-mt/mt-tb.fcgi/87

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)