Keys in the ODB /Logger/Runlog/ASCII subtree: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "==== Links ==== <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> * /Logger tree * /Logger ODB tree #Example | examp...")
 
No edit summary
Line 15: Line 15:
The following sections explain the purpose of the keys in this subtree.
The following sections explain the purpose of the keys in this subtree.


=== <span style="color: purple;">''Create Database''</span> ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' BOOL
* '''Default:'''  "n"
</div>
<br>
-----
<br>
<br>


=== <span style="color: purple;">''Write Data''</span> ===
=== <span style="color: purple;">''Write Data''</span> ===
Line 35: Line 25:


If this key in the [[#top|/Logger/Runlog/ASCII subtree]] is set, the data will be written to the file....PAASQL database, provided the MIDAS logger ([[mlogger]]) is also set to write the data - see
If this key in the [[#top|/Logger/Runlog/ASCII subtree]] is set, the data will be written to the file, provided the MIDAS logger ([[mlogger]]) is also set to write the data - see
[[Keys in the ODB /Logger tree #/Logger/Write data |/Logger/Write data key]].  
[[Keys in the ODB /Logger tree #/Logger/Write data |/Logger/Write data key]].  
<br>
-----
<br>
=== <span style="color: purple;">''Hostname''</span> ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' STRING
* '''Default:'''  "localhost"
</div>
This key in the [[#top|/Logger/SQL subtree]] contains the name of the host where the SQL database is located.
<br>
-----
<br>
=== <span style="color: purple;">''Username''</span> ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' STRING
* '''Default:'''  "root"
</div>
This key in the [[#top|/Logger/SQL subtree]] contains the username for access to the SQL Database.
<br>
-----
<br>
=== <span style="color: purple;">''Password''</span> ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' STRING
* '''Default:''' 
</div>
This key in the [[#top|/Logger/SQL subtree]] contains  the (encoded) password for access to the SQL Database.
<br>
-----
<br>
=== <span style="color: purple;">''Database''</span> ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' STRING
* '''Default:'''  <experiment name>
</div>
This key in the [[#top|/Logger/SQL subtree]] contains the name of the SQL Database (predefined as the name of the experiment in  ODB Key [[/Experiment ODB tree#Name|/Experiment/Name]]).
<br>
-----
<br>
=== <span style="color: purple;">''Table''</span> ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' STRING
* '''Default:'''  "Runlog"
</div>
This key in the [[#top|/Logger/SQL subtree]] contains the name of the table in the SQL Database.


<br>
<br>

Revision as of 04:00, 11 November 2022

Links




The ODB /Logger/Runlog/ASCII ODB subtree is a subdirectory of the /Logger ODB tree. The The ODB /Logger/Runlog/ASCII subtree will be created by the MIDAS logger (mlogger) -

Keys in the /Logger/Runlog/ASCII/subtree

The following sections explain the purpose of the keys in this subtree.


Write Data

  • Type: BOOL
  • Default: "n"


If this key in the /Logger/Runlog/ASCII subtree is set, the data will be written to the file, provided the MIDAS logger (mlogger) is also set to write the data - see /Logger/Write data key.




Links BOR

  • Type: DIR


This directory in the /Logger/SQL subtree contains links to parameters in the ODB that are to be saved in the SQL Database at Begin-of-run. The links

are created automatically by the MIDAS logger (mlogger) the first time it runs. The user may add other links as desired.





Links EOR

  • Type: DIR


This directory in the /Logger/SQL subtree contains links to parameters in the ODB that are to be saved in the SQL Database at End-of-run. The link

is created automatically by the MIDAS logger (mlogger) the first time it runs. The user may add other links as desired.