Difference between revisions of "PROCESS LOGGING"

From Agri4castWiki
Jump to: navigation, search
(Introduction)
 
Line 3: Line 3:
 
==Introduction==
 
==Introduction==
  
The procedures send the info produced by the running process, to an interface using the oracle system package DBMS_OUTPUT. The interface and use of these procedures is very simple. Best to see the code of the procedures. You are free to alter the code in order to send the info to a more sophisticated environment, e.g. log files or log tables.
+
Procedures send info, produced by the running process, to an interface using the oracle system package DBMS_OUTPUT. The interface and use of these procedures is very simple (see the code of the procedures). Code can be altered in order to send the info to a more sophisticated environment, e.g. log files or log tables.
  
 
PROCESS LOGGING consists of two procedures and a function. They are summarised in the table below.
 
PROCESS LOGGING consists of two procedures and a function. They are summarised in the table below.
Line 10: Line 10:
 
!procedure/function!!remarks
 
!procedure/function!!remarks
 
|-
 
|-
|ADD_PROCESS_LOG || send a message text to the user interface of your client.
+
|ADD_PROCESS_LOG || send a message text to the user interface of the client.
 
|-
 
|-
|ADD_PROCESS_METRICS || send a text containing a summary of results to the user interface of your client.
+
|ADD_PROCESS_METRICS || send a text containing a summary of results to the user interface of the client.
 
|-
 
|-
|MERGE_PROCESS_METRICS || send a text containing an additional summary of results to the user interface of your client.
+
|MERGE_PROCESS_METRICS || send a text containing an additional summary of results to the user interface of the client.
 
|}
 
|}
  
  
 
[[Category:Software Tools]]
 
[[Category:Software Tools]]

Latest revision as of 14:50, 24 February 2014



Introduction

Procedures send info, produced by the running process, to an interface using the oracle system package DBMS_OUTPUT. The interface and use of these procedures is very simple (see the code of the procedures). Code can be altered in order to send the info to a more sophisticated environment, e.g. log files or log tables.

PROCESS LOGGING consists of two procedures and a function. They are summarised in the table below.

procedure/function remarks
ADD_PROCESS_LOG send a message text to the user interface of the client.
ADD_PROCESS_METRICS send a text containing a summary of results to the user interface of the client.
MERGE_PROCESS_METRICS send a text containing an additional summary of results to the user interface of the client.