Keys in the ODB /Logger/Runlog/ASCII subtree

From MidasWiki
Revision as of 18:20, 10 November 2022 by Pierre (talk | contribs) (Created page with "==== Links ==== <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> * /Logger tree * /Logger ODB tree #Example | examp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.


Create Database

  • Type: BOOL
  • Default: "n"





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....PAASQL database, provided the MIDAS logger (mlogger) is also set to write the data - see /Logger/Write data key.





Hostname

  • Type: STRING
  • Default: "localhost"


This key in the /Logger/SQL subtree contains the name of the host where the SQL database is located.





Username

  • Type: STRING
  • Default: "root"


This key in the /Logger/SQL subtree contains the username for access to the SQL Database.





Password

  • Type: STRING
  • Default:


This key in the /Logger/SQL subtree contains the (encoded) password for access to the SQL Database.




Database

  • Type: STRING
  • Default: <experiment name>


This key in the /Logger/SQL subtree contains the name of the SQL Database (predefined as the name of the experiment in ODB Key /Experiment/Name).




Table

  • Type: STRING
  • Default: "Runlog"


This key in the /Logger/SQL subtree contains the name of the table in the SQL Database.




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.