{question}
What is the general log?
{question}
{answer}
The general log (also known as the general query log) is an available record of what queries SingleStore DB is executing. The server writes information to this log for each SQL statement received from clients. Thus, the general query log can be helpful when you want to know exactly what the client sent to the SingleStore cluster. The log file contains the complete form of the query compared to the regular tracelog, where queries are logged in their normalized form (not containing literals and other values used within the query).
The general log can grow quickly; so we recommend enabling the general log only for short periods of debugging rather than leaving it enabled permanently.
This general log is enabled by setting the general_log variable, and the scope of this variable is on a per-node basis, meaning you would need to set it on every node you want to capture this logging for.
set global general_log=ON;
set global general_log=OFF;
To find more information, click here.
{answer}