Event Reports Generated in MySQL Cluster-opracowanie

Nasza ocena:

3
Pobrań: 7
Wyświetleń: 371
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Event Reports Generated in MySQL Cluster-opracowanie - strona 1

Fragment notatki:

Event Reports Generated in MySQL Cluster
In this section, we discuss the types of event logs provided by MySQL Cluster, and the types of events
that are logged.
MySQL Cluster provides two types of event log:
• The cluster log, which includes events generated by all cluster nodes. The cluster log is the log
recommended for most uses because it provides logging information for an entire cluster in a single
location.
By default, the cluster log is saved to a file named ndb_node_id_cluster.log, (where node_id
is the node ID of the management server) in the same directory where the ndb_mgm binary resides.
Cluster logging information can also be sent to stdout or a syslog facility in addition to or
instead of being saved to a file, as determined by the values set for the DataDir [2199] and
LogDestination [2197] configuration parameters. See Section 17.3.2.5, “Defining a MySQL
Cluster Management Server”, for more information about these parameters.
• Node logs are local to each node.
Output generated by node event logging is written to the file ndb_node_id_out.log (where
node_id is the node's node ID) in the node's DataDir [2203]. Node event logs are generated for
both management nodes and data nodes.
Node logs are intended to be used only during application development, or for debugging application
code.
Both types of event logs can be set to log different subsets of events.
Each reportable event can be distinguished according to three different criteria:
• Category: This can be any one of the following values: STARTUP, SHUTDOWN, STATISTICS,
CHECKPOINT, NODERESTART, CONNECTION, ERROR, or INFO.
• Priority: This is represented by one of the numbers from 1 to 15 inclusive, where 1 indicates “most
important” and 15 “least important.”
• Severity Level: This can be any one of the following values: ALERT, CRITICAL, ERROR, WARNING,
INFO, or DEBUG.
Both the cluster log and the node log can be filtered on these properties.
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz