added a comment explaining log format.
This commit is contained in:
committed by
Markus Mäkelä
parent
3e6cbeff19
commit
65b6ba6b1e
@ -585,6 +585,7 @@ clientReply(FILTER *instance, void *session, GWBUF *reply)
|
|||||||
/* print to log. */
|
/* print to log. */
|
||||||
if (my_instance->log_enabled)
|
if (my_instance->log_enabled)
|
||||||
{
|
{
|
||||||
|
/* this prints "timestamp | server_name | user_name | latency | sql_statements" */
|
||||||
fprintf(my_instance->fp, "%ld%s%s%s%s%s%ld%s%s\n",
|
fprintf(my_instance->fp, "%ld%s%s%s%s%s%ld%s%s\n",
|
||||||
timestamp,
|
timestamp,
|
||||||
my_instance->delimiter,
|
my_instance->delimiter,
|
||||||
|
|||||||
Reference in New Issue
Block a user