Ticket #2082 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

WMS Logging

Reported by: gpotts Owned by: gpotts
Priority: high Milestone: OMAR Dec 2010
Component: omar Version: OMAR 1.8.8
Severity: critical Keywords:
Cc:

Description (last modified by gpotts) (diff)

At site they have added some nice logging for the ogc wms service. We need to try to OCR or type the domain WmsLog? domain object from site and integrate for easy metric reporting.

Add a crude GSD column for the table as well.

May want to think about this for other controller and services.

Please find attached an initial approach done at site.

Design Approach:

- Use Database Appender log4j if possible. We will make sure that the log4j populates the table properly.
- If the table is not populated will will use the site modification verbatim to capture the proper fields.

Unit Test:

- We will issue a WMS chip and verify that the chip is added to the WmsLog? table. To verify we can easily do either a grails groovy script to select or go into the database with psql and do a select clause ton the WmsLog? table.

Attachments

WmsLogPlugin-1.jpg Download (111.9 KB) - added by gpotts 3 years ago.
WmsLogPlugin-2.jpg Download (139.3 KB) - added by gpotts 3 years ago.

Change History

Changed 3 years ago by gpotts

  • description modified (diff)

Changed 3 years ago by gpotts

  • description modified (diff)
  • summary changed from Integrate a WMS logging domain table to WMS Logging

Changed 3 years ago by gpotts

Changed 3 years ago by gpotts

Changed 3 years ago by gpotts

  • owner changed from sbortman to gpotts
  • status changed from new to assigned
  • version changed from OMAR 1.8.6 to OMAR 1.8.8
  • milestone changed from OMAR Sep 2010 to OMAR Dec 2010

Changed 3 years ago by gpotts

  • description modified (diff)

Changed 3 years ago by gpotts

  • status changed from assigned to closed
  • resolution set to fixed

We have added WmsLog?.groovy for the domain definition. We added WmsLogService? to help format the logging message. OgcController? now sends the logging parameters to the WmsLogService? and then does a log.info on thos paramters. The routed message is JSON. We have added to the config an Appender for log4j.

Note: See TracTickets for help on using tickets.